Re: C library vs PHP connection

2002-05-30 Thread Bill Rausch
At 7:10 PM -0400 5/30/02, Adam Hooper wrote: >You forgot to include your C code. :) Thanks. While trying to figure out what sections to post, I found the error. The logic path that was being executed by the query in question failed to go through the initialization routine properly. Basically

Re: C library vs PHP connection

2002-05-30 Thread Adam Hooper
You forgot to include your C code. :) Adam Hooper [EMAIL PROTECTED] On Thu, 30 May 2002 15:59:31 -0700 Bill Rausch <[EMAIL PROTECTED]> wrote: > I have a program prototyped in PHP that works fine, but when I > convert it to C using libmysqlclient the program fails inside the > mysqlclient lib

C library vs PHP connection

2002-05-30 Thread Bill Rausch
I have a program prototyped in PHP that works fine, but when I convert it to C using libmysqlclient the program fails inside the mysqlclient library with a segmentation fault on a particular query. It fails on two different platforms (Linux and Mac OS X). The database I'm using is very simple