On Fri, 2 Nov 2001, Jani Taskinen wrote:
>
> I have committed a fix for all this.
> Please check it out, especially the thread-safe stuff.
In any case, note, that by default, MySQL is compiled without old-style
functions in libs, but references to such functions in all headers are OK,
that make
Jani Taskinen wrote:
> I have committed a fix for all this.
> Please check it out, especially the thread-safe stuff.
Works fine with
* PHP built as CGI, Apache 2.0.28-dev and MySQL 3.23.41 with bundled
libmysql on Windows
* PHP with Apache2Filter SAPI, Apache 2.0.28-dev and
I have committed a fix for all this.
Please check it out, especially the thread-safe stuff.
This diff shows why the HAVE_MYSQL_REAL_CONNECT broke things:
http://cvs.php.net/diff.php/php4/ext/mysql/php_mysql.c?r1=1.37&r2=1.38&f=h
:)
--Jani
On Fri, 2 Nov 2001, Sebastian Bergmann wrote:
>Timot
Timothy Smith wrote:
> There is an odd conflict with the USE_OLD_FUNCTIONS change in
> MySQL 4.0. PHP wraps almost all of ext/mysql/php_mysql.c in
> an #ifdef HAVE_MYSQL_REAL_CONNECT, which is only defined if
> USE_OLD_FUNCTIONS is defined (in mysql-4.0's mysql.h). So, you
> have to #define USE_