History log of /PHP-5.5/ext/mysqlnd/mysqlnd_wireprotocol.c (Results 126 – 150 of 181)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1a108f1b 11-Jan-2010 Andrey Hristov

remove extern defintion of a variable that is no more
used outside of the file where it is declared.
Also really export with PHPAPI the protocol init/deinit functions


# d20fdd60 08-Jan-2010 Andrey Hristov

improve the stats subsystem. Reduce the number of macro definitions
in half by smartly introducing 2 new macros. Make MYSQLND::stats a pointer
from being aggregated and add triggers.


# 3264e519 08-Jan-2010 Andrey Hristov

add restart_psession and end_psession hooks


# 73b23fca 07-Jan-2010 Andrey Hristov

Change of way the packet objects are created/initialised
If the protocol gets changed, ever, we can decide at runtime
easily which protocol to use by instantiating the right protocol
obje

Change of way the packet objects are created/initialised
If the protocol gets changed, ever, we can decide at runtime
easily which protocol to use by instantiating the right protocol
object. But this is restricted to the structure of the packets, not
the flow.

show more ...


Revision tags: php-5.3.2RC1
# 41ac91ae 21-Dec-2009 Andrey Hristov

Move this function to MYSQLND_NET as it works on the
php stream


# ce349e35 21-Dec-2009 Andrey Hristov

magic numbers to macros


# 028bd4ba 17-Dec-2009 Andrey Hristov

refactoring : move more network related functions to
mysqlnd_net.c . Now communication is split on two levels:
- logical (functions send and receive)
- physical (functions network_read an

refactoring : move more network related functions to
mysqlnd_net.c . Now communication is split on two levels:
- logical (functions send and receive)
- physical (functions network_read and network_write)

show more ...


# 22528b14 17-Dec-2009 Andrey Hristov

During refactoring of the function mysqlnd_stream_write_w_header() it was
found that there is a bug in the way the data is sent, although a very rare
one which will only affect very large que

During refactoring of the function mysqlnd_stream_write_w_header() it was
found that there is a bug in the way the data is sent, although a very rare
one which will only affect very large queries which have length 16777214. The
communication will hang. A way to test it is to execute the following:
./php -r '$c=mysqli_connect("127.0.0.1","root","root","test");
$q="insert into test.tblob values(\"".str_repeat("a",256*256*256-1-34)."\")";
$c->query($q);'

show more ...


# a1ef2d9f 16-Dec-2009 Andrey Hristov

Remove unneeded dereferences
(oops, committed the trunk changes from a wrong directory, which splitted
this commit).


# b3546d1b 16-Dec-2009 Andrey Hristov

move MYSQLND_NET code to a separate file.
mysqlnd_wireprotocol is about the protocol not the transport
layer


Revision tags: php-5.2.12
# c101f7f5 15-Dec-2009 Andrey Hristov

Move code out of mysqlnd_conn::connect to mysqlnd_net::connect.
Thus mysqlnd_conn::connect() does less of what it should not do - think
about the transport level.


# 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


12345678