History log of /PHP-7.0/ext/mysqlnd/mysqlnd.c (Results 251 – 275 of 340)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f534df71 01-Apr-2010 Andrey Hristov

Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).

Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
by it.
- add a mode to track memory usage (malloc/free)

show more ...


# 94cd357f 29-Mar-2010 Andrey Hristov

Make it coupled - what is allocated with mnd_ should be freed
with mnd_ and vice versa.
Added mnd_pestrndup and mnd_pestrdup, which wrap the normal
calls to be able to track this calls.

Make it coupled - what is allocated with mnd_ should be freed
with mnd_ and vice versa.
Added mnd_pestrndup and mnd_pestrdup, which wrap the normal
calls to be able to track this calls.
Fixed some failing tests.

show more ...


# 4870cac7 29-Mar-2010 Andrey Hristov

Make it coupled - what is allocated with mnd_ should be freed
with mnd_ and vice versa.
Added mnd_pestrndup and mnd_pestrdup, which wrap the normal
calls to be able to track this calls.

Make it coupled - what is allocated with mnd_ should be freed
with mnd_ and vice versa.
Added mnd_pestrndup and mnd_pestrdup, which wrap the normal
calls to be able to track this calls.
Fixed some failing tests.

show more ...


# ec36ac16 26-Mar-2010 Andrey Hristov

Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sock
as it is in when compiled from source and the default for mysqlnd.
SuSE for example uses /var/run/mysql/mysql.sock . Al

Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sock
as it is in when compiled from source and the default for mysqlnd.
SuSE for example uses /var/run/mysql/mysql.sock . Also, sql.safe_mode
(ext/mysql and ingres) needs the socket.
Fix possible crashes in mysqlnd. When packets are shorter, functions should
return error.

show more ...


# 7868bca4 26-Mar-2010 Andrey Hristov

Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sock
as it is in when compiled from source and the default for mysqlnd.
SuSE for example uses /var/run/mysql/mysql.sock . Al

Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sock
as it is in when compiled from source and the default for mysqlnd.
SuSE for example uses /var/run/mysql/mysql.sock . Also, sql.safe_mode
(ext/mysql and ingres) needs the socket.
Fix possible crashes in mysqlnd. When packets are shorter, functions should
return error.

show more ...


# ccfd9cd7 12-Mar-2010 Andrey Hristov

allow persistency of PS


# bdbb2e77 09-Mar-2010 Adam Harvey

Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore, but 0).


Revision tags: php-5.3.2
# 7db6387a 24-Feb-2010 Andrey Hristov

Fix the text. Correct english and a bit shorter.


# f8eb9abf 24-Feb-2010 Andrey Hristov

add better description to the problem


Revision tags: php-5.2.13, php-5.3.2RC3, php-5.3.2RC2, php-5.2.13RC2
# 480c327f 09-Feb-2010 Andrey Hristov

make send_close a hook, too


# 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
# 6a8d4c32 13-Jan-2010 Andrey Hristov

more PHPAPI for phpize-d builds


# 2331e285 11-Jan-2010 Andrey Hristov

cosmetics. typedef-ed types should be in capital case


# d999552a 11-Jan-2010 Andrey Hristov

missed to commit in 5_3, here it comes, reusability of stats


# 9b8d026d 11-Jan-2010 Andrey Hristov

Rework the statistics macros to be reusable by external entities.
Rename handlers to triggers. Dynamically allocate space for the
statistics thus allow reusability.


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


# d76fa2b4 28-Dec-2009 Andrey Hristov

move network creation to the init hook


Revision tags: php-5.3.2RC1
# c95fa280 22-Dec-2009 Andrey Hristov

Fix double calls to free_contents if the connection cannot be
opened. mysqlnd have no probs, external code should not have too.
In any case, double call is not needed.


# e1251edc 22-Dec-2009 Andrey Hristov

move state setting to the right place, in mysqlnd_init, no more
in mysqlnd::connect


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

remove duplicated code


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


# 523471f7 15-Dec-2009 Andrey Hristov

export this function


# 0371ef10 15-Dec-2009 Andrey Hristov

refactor: move code that belongs to MYSQLND_NET out of MYSQLND


1...<<11121314