Skip to Content.
Sympa Menu

freetds - RE: mssql_query not updating mssql_get_last_message on php4.1.2 and freetds 0.53

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Steve Langasek <vorlon AT netexpress.net>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: mssql_query not updating mssql_get_last_message on php4.1.2 and freetds 0.53
  • Date: Tue, 4 Jun 2002 12:15:43 -0500

On Tue, Jun 04, 2002 at 08:24:33AM -0400, Brian Bruns wrote:

> I can check it in. The patch looks fairly benign. This is just
> implementing functionality already in the mssql driver to the sybase
> driver right?

It would really be quite advantageous to merge the mssql and sybase
extensions in PHP, rather than maintaining two almost identical
extensions separately. I wrote a patch to do this last year, but didn't
find any takers for getting it merged into PHP CVS.

Steve Langasek
postmodern programmer


> On Tue, 4 Jun 2002, Dave Brotherstone wrote:
>
> > I submitted a patch that keeps PHP error messages separate, and stores the
> > error number to the PHP-DEV list a while back - I tried a repost but it's
> > still not gone in. Perhaps someone here with a bit more clout on the
> > php-dev list could post any one of the suggested patches to php-dev, as it
> > seems there are a number of people (like me) who apply their own patch for
> > each release?
> >
> > Dave.
> >
> > --
> > Q: What is the most used NT/2000/XP admin tool?
> > A: A car.
> >
> >
> > > -----Original Message-----
> > > From: bounce-freetds-139968 AT franklin.oit.unc.edu
> > > [mailto:bounce-freetds-139968 AT franklin.oit.unc.edu]On Behalf Of Mark
> > > Gruetzner
> > > Sent: 31 May 2002 05:27
> > > To: TDS Development Group
> > > Subject: [freetds] RE: mssql_query not updating mssql_get_last_message
> > > on php4.1.2 and freetds 0.53
> > >
> > >
> > > Sure...I submitted it and I hope it will help...the request id is 562746
> > >
> > > -Mark
> > >
> > > -----Original Message-----
> > > From: bounce-freetds-143882 AT franklin.oit.unc.edu
> > > [mailto:bounce-freetds-143882 AT franklin.oit.unc.edu]On Behalf Of James K.
> > > Lowden
> > > Sent: Thursday, May 30, 2002 7:05 PM
> > > To: TDS Development Group
> > > Subject: [freetds] RE: mssql_query not updating mssql_get_last_message
> > > on php4.1.2 and freetds 0.53
> > >
> > >
> > > On Thu, 30 May 2002 10:05:52 -0500 "Mark Gruetzner" <mgruetzner AT rw3.com>
> > > wrote:
> > > >
> > > > I have another, related patch for php 4.1.2 (and I haven't seen it
> > > > fixed
> > > > in the latest stable build of php either). The patch below is the
> > > > entire"sybase_query" function in the php_sybase_db.c file. Search for
> > > > //fixfix to see what I added. This patch allows the actual error
> > > > message to be sent to php to update the return value for
> > > > mssql_get_last_message every time raiserror is called with a
> > > > user-defined message, such as raiserror ('My error message',9,1):
> > >
> > > Mark,
> > >
> > > Could you please convert this to a universal diff and post it to
> > > FreeTDS's
> > > patches on sourceforge? Then I could update the UG to point it out to
> > > people who read the docs and not the list. I think that would help a
> > > lot
> > > of people, potentially.
> > >
> > > Much obliged. :^)
> > >
> > > --jkl
> > >
> > >
> > > ---
> > > You are currently subscribed to freetds as: [mgruetzner AT rw3.com]
> > > To unsubscribe, forward this message to
> > > $subst('Email.Unsub')
> > >
> > >
> > > ---
> > > You are currently subscribed to freetds as: [davegb AT pobox.com]
> > > To unsubscribe, forward this message to
> > > $subst('Email.Unsub')
> > >
> > >
> >
>
>
>
> ---
> You are currently subscribed to freetds as: [vorlon AT netexpress.net]
> To unsubscribe, forward this message to
> leave-freetds-118790I AT franklin.oit.unc.edu

Attachment: pgpDafgTuxfqd.pgp
Description: PGP signature



  • RE: mssql_query not updating mssql_get_last_message on php4.1.2 and freetds 0.53, Steve Langasek, 06/04/2002

Archive powered by MHonArc 2.6.24.

Top of Page