diff options
author | unknown <andrey@lmy004.> | 2006-02-01 20:35:16 +0100 |
---|---|---|
committer | unknown <andrey@lmy004.> | 2006-02-01 20:35:16 +0100 |
commit | 1e686ae7702d297cc9fd261c42864653f4fdd7b3 (patch) | |
tree | 59375d95c601aec43e46d08deb88028599227821 /mysql-test/t/kill.test | |
parent | c98077d6101c7dc2b364e0536b1e675dc76d8f0f (diff) | |
download | mariadb-git-1e686ae7702d297cc9fd261c42864653f4fdd7b3.tar.gz |
fix for bug #12744 (MYSQL_STMT operations cause seg fault after connection reset)
libmysql/libmysql.c:
stmt->mysql could be 0x0 if the connection has failed between prepare and execute
or any other operation. thus if the user decides to use mysql_stmt_reset()
we should not segfault.
tests/mysql_client_test.c:
test for bug #12744 (MYSQL_STMT operations cause seg fault after connection reset)
Diffstat (limited to 'mysql-test/t/kill.test')
0 files changed, 0 insertions, 0 deletions