mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
more fixes for test cases
mysql-test/suite/innodb/include/restart_and_reinit.inc: drop and recreate mysql.innodb* tables when deleting innodb table spaces mysql-test/t/ssl_8k_key-master.opt: with loose- prefix ssl errors are ignored sql-common/client.c: compiler warnings sql/field.cc: use the new function sql/item.cc: don't convert time to double or decimal via longlong, this loses sub-second part. Use dedicated functions. sql/item.h: incorrect cast_to_int type for params sql/item_strfunc.cc: use the new function sql/lex.h: unused sql/my_decimal.h: helper macro sql/sql_plugin.cc: workaround for a compiler warning sql/sql_yacc.yy: unused sql/transaction.cc: fix the merge for SERVER_STATUS_IN_TRANS_READONLY protocol flag storage/sphinx/CMakeLists.txt: compiler warnings
This commit is contained in:
@ -3966,7 +3966,7 @@ end_with_restore_list:
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Reset the isolation level if no chaining transaction. */
|
||||
/* Reset the isolation level and access mode if no chaining transaction.*/
|
||||
thd->tx_isolation= (enum_tx_isolation) thd->variables.tx_isolation;
|
||||
thd->tx_read_only= thd->variables.tx_read_only;
|
||||
}
|
||||
@ -4000,7 +4000,7 @@ end_with_restore_list:
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Reset the isolation level if no chaining transaction. */
|
||||
/* Reset the isolation level and access mode if no chaining transaction.*/
|
||||
thd->tx_isolation= (enum_tx_isolation) thd->variables.tx_isolation;
|
||||
thd->tx_read_only= thd->variables.tx_read_only;
|
||||
}
|
||||
@ -4520,7 +4520,7 @@ create_sp_error:
|
||||
thd->mdl_context.release_transactional_locks();
|
||||
/*
|
||||
We've just done a commit, reset transaction
|
||||
isolation level to the session default.
|
||||
isolation level and access mode to the session default.
|
||||
*/
|
||||
thd->tx_isolation= (enum_tx_isolation) thd->variables.tx_isolation;
|
||||
thd->tx_read_only= thd->variables.tx_read_only;
|
||||
@ -4532,7 +4532,7 @@ create_sp_error:
|
||||
thd->mdl_context.release_transactional_locks();
|
||||
/*
|
||||
We've just done a rollback, reset transaction
|
||||
isolation level to the session default.
|
||||
isolation level and access mode to the session default.
|
||||
*/
|
||||
thd->tx_isolation= (enum_tx_isolation) thd->variables.tx_isolation;
|
||||
thd->tx_read_only= thd->variables.tx_read_only;
|
||||
|
Reference in New Issue
Block a user