Commit d6e4472f authored by unknown's avatar unknown

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.
parent c2e7e10c
...@@ -12923,7 +12923,6 @@ static void test_bug15518() ...@@ -12923,7 +12923,6 @@ static void test_bug15518()
DIE_UNLESS(rc && mysql_stmt_errno(stmt)); DIE_UNLESS(rc && mysql_stmt_errno(stmt));
mysql_stmt_close(stmt); mysql_stmt_close(stmt);
DIE_UNLESS(mysql_errno(mysql1));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment