1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Comment and indentation improvements

This commit is contained in:
Monty
2025-01-05 17:33:10 +02:00
parent 4992aaf9a2
commit d9c3b775b8
7 changed files with 28 additions and 16 deletions

View File

@@ -3688,7 +3688,7 @@ mysql_execute_command(THD *thd, bool is_called_from_prepared_stmt)
/*
change LOCK TABLE WRITE to transaction
*/
if (lex->sql_command== SQLCOM_LOCK_TABLES && wsrep_convert_LOCK_to_trx)
if (lex->sql_command == SQLCOM_LOCK_TABLES && wsrep_convert_LOCK_to_trx)
{
for (TABLE_LIST *table= all_tables; table; table= table->next_global)
{
@@ -3700,7 +3700,7 @@ mysql_execute_command(THD *thd, bool is_called_from_prepared_stmt)
}
}
}
if (lex->sql_command== SQLCOM_UNLOCK_TABLES &&
if (lex->sql_command == SQLCOM_UNLOCK_TABLES &&
thd->wsrep_converted_lock_session)
{
thd->wsrep_converted_lock_session= false;