History log of /PHP-7.3/ext/mysqlnd/mysqlnd_wireprotocol.c (Results 251 – 275 of 295)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0371ef10 15-Dec-2009 Andrey Hristov

refactor: move code that belongs to MYSQLND_NET out of MYSQLND


# af206a90 11-Dec-2009 Pierre Joye

- fix build, come on, it is not that hard to test before commit, is it?


# 13c8bba0 11-Dec-2009 Andrey Hristov

Make MYSQLND_NET dynamically allocated structure with allocator
and deallocator. More member functions will come.


Revision tags: php-5.2.12RC4
# 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.


# 2a3ec70d 30-Nov-2009 Pierre Joye

- void is NaN, you can't do math ops on void. Declarations go first. Fix TS build


Revision tags: php-5.2.12RC3, php-5.2.12RC2
# 1cf1cb30 26-Nov-2009 Andrey Hristov

fix debug windows build as well as remove a compilation warning
(a header not included)


# 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, php-5.3.1RC2
# ab4670ee 15-Oct-2009 Ulf Wendel

Fixing problems when calling connect (again and again) on a valid connection handle. Most of the patch comes from Andrey.


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

Fix ZTS build


# c2e66884 17-Sep-2009 Andrey Hristov

MFH, a fix not included by the fix committed by Ulf.
pemalloc and then efree - too bad!
Sorry for committing in two passes, my big tree is already patched
with compressed.


# 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 ...


Revision tags: php-5.2.11, php-5.2.11RC3
# 5f260e14 09-Sep-2009 Ulf Wendel

Next attempt to fix http://bugs.php.net/bug.php?id=48745. Patch by Andrey.


Revision tags: php-5.3.1RC1, php-5.2.11RC2, php-5.2.11RC1, php-5.3.0
# 81761e63 28-Jun-2009 Johannes Schlüter

Fix path


# a68f6c9c 28-Jun-2009 Pierre Joye

- fix build


# 9485cad6 25-Jun-2009 Johannes Schlüter

Revert mysqlnd to RC3 state after issues with pconnects


Revision tags: php-5.3.0RC4, php-5.2.10
# 27270621 16-Jun-2009 Andrey Hristov

MFH:
Hardwire function call instead of using callbacks. We don't actually need
callbacks, it was done for making 2 functions static, not to pollute the
global functions space but that had

MFH:
Hardwire function call instead of using callbacks. We don't actually need
callbacks, it was done for making 2 functions static, not to pollute the
global functions space but that had its price of 8 bytes overheat per
allocation, which is just too much. Also making the app member 32b instead
of 64b, which should save additional 4 byte, to the total of 12 byte per
allocation of a row buffer.

show more ...


# 22c87864 12-Jun-2009 Andrey Hristov

MFH:
Fix crash when tracing is enabled. Position after buffer was used also
direct usage of MYSQLND_STRING pointer instead of the "s" property of the
structure.


# 9a2cc0ce 11-Jun-2009 Andrey Hristov

Put these in an ifdef because they are not used at all if the zval cache
is off.


# f2fcd8fb 11-Jun-2009 Pierre Joye

- silent warning and make it less ambiguous


Revision tags: php-5.2.10RC2
# cff09ba5 11-Jun-2009 Andrey Hristov

MFH:
Check the pointer before calling a function on it, or we will crash.
This is a very rare situation where the server is totally broken.


# 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


Revision tags: php-5.3.0RC3
# ec777b89 08-Jun-2009 Andrey Hristov

Merge with HEAD. Someone committed changes to HEAD and did not merge back to
the branch.
Also switch off the zval cache, for now.


Revision tags: php-5.2.10RC1, php-5.3.0RC2, php-5.3.0RC1, RELEASE_1_3_5, php-5.2.9, php-5.2.9RC3, php-5.2.9RC2, php-5.2.9RC1, php-5.3.0beta1
# 08659c2d 31-Dec-2008 Sebastian Bergmann

MFH: Bump copyright year, 3 of 3.


Revision tags: NEWS, php-5.2.8, BEFORE_HEAD_NS_CHANGES_MERGE, php-5.3.0alpha3, php-5.3.0alpha2, php-5.2.7, php-5.2.7RC5, php-5.2.7RC4, BEFORE_HEAD_NS_CHANGE, BEFORE_NS_RULES_CHANGE, php-5.2.7RC3
# 737c3c89 06-Nov-2008 Andrey Hristov

MFB: More Windows types cleanup


# 91865289 06-Nov-2008 Andrey Hristov

MFH:
Get rid of many defines (which simplifies the code a lot),
as well as uint->unsigned int


1...<<1112