History log of /PHP-8.0/ext/mysqlnd/mysqlnd.h (Results 126 – 150 of 172)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7496cc76 16-Mar-2010 Andrey Hristov

decouple the methods in MYSQLND_STMT from the data,
needed to move to a new structure MYSQLND_STMT. Makes
the code cleaner and less error-prone.
Also fix PDO/MySQL which directly touch my

decouple the methods in MYSQLND_STMT from the data,
needed to move to a new structure MYSQLND_STMT. Makes
the code cleaner and less error-prone.
Also fix PDO/MySQL which directly touch mysqlnd internals
instead of using API calls.

show more ...


# ccfd9cd7 12-Mar-2010 Andrey Hristov

allow persistency of PS


Revision tags: php-5.3.2, php-5.2.13, php-5.3.2RC3, php-5.3.2RC2, php-5.2.13RC2
# e50de7d9 03-Feb-2010 Andrey Hristov

Pass tsrmls to all functions, which might need it in the future.
We are anyway breaking the internal ABI in 5.3.2 so this won't hurt
and make us prepared for the future.


Revision tags: php-5.2.13RC1
# 4bbdce5c 13-Jan-2010 Andrey Hristov

export more functionality for phpize builds


# 8b3931b4 11-Jan-2010 Andrey Hristov

this function should be exporten in all cases, not only under PHP6


# 3264e519 08-Jan-2010 Andrey Hristov

add restart_psession and end_psession hooks


Revision tags: php-5.3.2RC1, php-5.2.12
# 70690e11 15-Dec-2009 Andrey Hristov

remove C++ comments


# 523471f7 15-Dec-2009 Andrey Hristov

export this function


Revision tags: php-5.2.12RC4
# a633de00 10-Dec-2009 Andrey Hristov

bump version number


# 00d76a84 10-Dec-2009 Andrey Hristov

Add plugin storage for MYSQLND_STMT too


# 06a417b6 09-Dec-2009 Andrey Hristov

Remove stub code which never actually was used for anything.
Things like this can be built on top of the core.


# 6f598e62 09-Dec-2009 Andrey Hristov

Remove the zval caching from mysqlnd. It was disabled versions ago
due to problems on windows, which were not debugged. Better have
code that is disabled not in the core.


# 4d273500 09-Dec-2009 Andrey Hristov

Remove disabled code - threaded fetching. This can be implemented
on a upper level and by offloading it we reduce the complexity of
the core.


Revision tags: php-5.2.12RC3, php-5.2.12RC2
# 5143fe41 20-Nov-2009 Andrey Hristov

Compressed protocol support + extensibility for mysqlnd


Revision tags: php-5.3.1, php-5.3.1RC4, php-5.2.12RC1, php-5.3.1RC3
# 629d8fe4 22-Oct-2009 Ulf Wendel

Updating mysqlnd version number.


Revision tags: php-5.3.1RC2
# d8dc47d5 15-Oct-2009 Ulf Wendel

Making mysqlnd emit no warnings when fetching pooled persistent connections that have timed out or are unusable for any other reason - bug #49761


Revision tags: oci8-1.4.0
# 2f81bcd4 30-Sep-2009 Andrey Hristov

Fix ZTS build


# e6cf6693 16-Sep-2009 Ulf Wendel

Fix (by Andrey) and test for bug #49442 . Don't use efree() for memory allocated with malloc()... If a connection gets created by mysqli_init(), mysqlnd makes it 'persistent'. 'Persistent' means that

Fix (by Andrey) and test for bug #49442 . Don't use efree() for memory allocated with malloc()... If a connection gets created by mysqli_init(), mysqlnd makes it 'persistent'. 'Persistent' means that mysqlnd uses malloc(). mysqlnd does use malloc() instead of ealloc() because it is unknown if the connection will become a true persistent connection in the sense of ext/mysqli. It is unknown if the user wants a persistent connection or not until the user calls mysqli_real_connect(). To avoid tricky conversions mysqlnd uses malloc(), which sets a private persistent flag in the mysqlnd structures. A precondition for the crash to happen was that the private persistent flag is set. The flag is also set when creating a real persistent connection (in the sense of ext/mysqli) and so the bug can happen with mysql_init()/mysqli_real_connect() and mysql_connect('p:<host>', ...). Therefore we test both cases. Note the (tricky?) difference between the implementation detail'mysqlnd private persistent flag = use malloc()' and persistent connections from a user perspective. Although mysqlnd will always set its private persistent flag and use malloc() for connections created with mysqli_init() it is still up to the user to decide in mysqli_real_connect() if the connection shall become a (true) persistent connection or not.

show more ...


# 20005db2 16-Sep-2009 Ulf Wendel

Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library (libmysql) use different networking APIs. mysqlnd does use PHP streams whereas libmysql uses its own wrapper of the operating level

Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library (libmysql) use different networking APIs. mysqlnd does use PHP streams whereas libmysql uses its own wrapper of the operating level network calls. PHP sets by default a read timeout of 60s for streams - php.ini, default_socket_timeout. This default applies to all streams that set no other timeout value. mysqlnd has not set any other value and therefore it connections of long running queries can have been cut off after default_socket_timeout seconds resulting in a 2006 - MySQL Server has gone away error message. The MySQL Client Library sets a default timeout of 365 * 24 * 3600 seconds (1year) and waits for other timeouts to happen, e.g. TCP/IP timeouts. mysqlnd now uses the same very long timeout. The value is configurable through a new php.ini setting: mysqlnd.net_read_timeout. mysqlnd.net_read_timeout gets used by any extension (ext/mysql, ext/mysqli, PDO_MySQL) that uses mysqlnd. mysqlnd tells PHP Streams to use mysqlnd.net_read_timeout. Please note that there may be subtle differences between MYSQL_OPT_READ_TIMEOUT from the MySQL Client Library and PHP Streams. E.g. MYSQL_OPT_READ_TIMEOUT is documented to work only for TCP/IP connections and, prior to MySQL 5.1.2, only for Windows. PHP streams may not have this limitation. Please check the streams documentation, if in doubt.

show more ...


Revision tags: php-5.2.11, php-5.2.11RC3, php-5.3.1RC1, php-5.2.11RC2, php-5.2.11RC1
# cac5325a 03-Aug-2009 Andrey Hristov

test 2


# af22257b 03-Aug-2009 Andrey Hristov

test


Revision tags: php-5.3.0
# 9485cad6 25-Jun-2009 Johannes Schlüter

Revert mysqlnd to RC3 state after issues with pconnects


Revision tags: php-5.3.0RC4
# 0aada076 17-Jun-2009 Andrey Hristov

MFH:
Fix two problems:
- The value of mysqli_get_client_info() has been changed recently and did
not include "mysqlnd" anymore thus the test suite was thinking the build
is always lib

MFH:
Fix two problems:
- The value of mysqli_get_client_info() has been changed recently and did
not include "mysqlnd" anymore thus the test suite was thinking the build
is always libmysql. This did not kept the suite from running pconn tests
- Going back to the libc allocator because the memory arena could be on a
persistent connections. If the build is not debug there will be no error
but the memory will be freed and in the second use of this pconn freed
memory will be used - not good! For now the arena doesn't take an argument
whether it should allocate persistently or not, thus persistent is safe
for now.

Johannes gave his +1 to commit this.

show more ...


Revision tags: php-5.2.10, php-5.2.10RC2
# 11340cf2 11-Jun-2009 Johannes Schlüter

MFH: Use a better extension version


# a3b85c28 11-Jun-2009 Andrey Hristov

Sync with PHP6 - TSRMLS_FETCH
Extract reference decrement in own function
Remove PHPAPI of a function and make it static as it is not called
externally


1234567