1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Added more descriptive error message of why statement was automaticly dropped

Print information if net_clear() skipped bytes (As this otherwise hides critical timeing bugs)
Added DBUG_ASSERT if we get packets out of order
mysql_change_user() could on error send multiple packets, which caused mysql_client_test to randomly fail
This commit is contained in:
monty@mysql.com/narttu.mysql.fi
2007-04-13 01:56:22 +03:00
parent 4a065f5f60
commit 6e8b72a6bb
9 changed files with 112 additions and 73 deletions

View File

@@ -420,6 +420,7 @@ void THD::init_for_queries()
void THD::change_user(void)
{
cleanup();
killed= NOT_KILLED;
cleanup_done= 0;
init();
stmt_map.reset();