fix a crash and a leak.
authorAndrey Hristov <andrey@php.net>
Wed, 30 Nov 2005 11:35:03 +0000 (11:35 +0000)
committerAndrey Hristov <andrey@php.net>
Wed, 30 Nov 2005 11:35:03 +0000 (11:35 +0000)
commitc230f7defb2752a3546a56e6243fe3b9cba99492
treef0653a76a6feeb1bf59e1105c46f33b91eebe243
parent22efcfd5307511a54f621562b37ed5cd51868304
fix a crash and a leak.
4.1.15 (client) -> 5.x (server) because of the incompatibility because of
decimal in the protocol binding may fail. Don't close the statement in
that case because subsequent ->execute() will crash or any other function
that will try to use already freed (and in debug mode thrashed) pointer.
#probably more problems exist because of the 4.1.x -> 5.x protocol
#incompatibility
ext/mysqli/mysqli_api.c