From d6e4472f89a4ad96f680b68cec909fceb4397ba7 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 19 Jan 2007 11:07:20 +0100 Subject: Bug #15518 Reusing a stmt that has failed during prepare does not clear error - Additional patch removing check for mysql_errno on already closed mysql1 tests/mysql_client_test.c: No need to check mysql_errno of mysql1 which has already been closed. --- tests/mysql_client_test.c | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 1937f74f797..792f955d729 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -12923,7 +12923,6 @@ static void test_bug15518() DIE_UNLESS(rc && mysql_stmt_errno(stmt)); mysql_stmt_close(stmt); - DIE_UNLESS(mysql_errno(mysql1)); } -- cgit v1.2.1