diff options
author | unknown <msvensson@pilot.mysql.com> | 2007-01-19 11:07:20 +0100 |
---|---|---|
committer | unknown <msvensson@pilot.mysql.com> | 2007-01-19 11:07:20 +0100 |
commit | d6e4472f89a4ad96f680b68cec909fceb4397ba7 (patch) | |
tree | 7b0ae912d5963e9205cbd43daf038821fc2e255b /tests | |
parent | c2e7e10c3221c1a8c1e289d75252d9cfc85074ac (diff) | |
download | mariadb-git-d6e4472f89a4ad96f680b68cec909fceb4397ba7.tar.gz |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 1 |
1 files changed, 0 insertions, 1 deletions
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)); } |