mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
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.
This commit is contained in:
@ -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));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user