]> granicus.if.org Git - php/commit
Fix a crash introduced yesterday in mysqlnd, non-zts mode - missing if () for
authorAndrey Hristov <andrey@php.net>
Tue, 16 Sep 2008 14:34:11 +0000 (14:34 +0000)
committerAndrey Hristov <andrey@php.net>
Tue, 16 Sep 2008 14:34:11 +0000 (14:34 +0000)
commita7226f1a0394bee4d39873e63f2420cd2eb99d34
tree7035270c336a9e4623c4ef1990d3026ae0257fe8
parent07aac764a5aff0f54f8544c709f676d19bf3cf05
Fix a crash introduced yesterday in mysqlnd, non-zts mode - missing if () for
STAT_LAST was accessing wrong memory thus overwritting method pointers.

Windows doesn't have atoll(), which is C99, C89 has only atoi() + atol().
Win has _atoi64, so use it.
ext/mysqlnd/mysqlnd_statistics.h
ext/mysqlnd/mysqlnd_wireprotocol.c