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

Indentation cleanups

Remove wait_if_global_read_lock on commit as this can cause deadlocks
This commit is contained in:
monty@narttu.mysql.fi
2003-10-08 21:50:05 +03:00
parent dc6f07256c
commit d37a5c4dd7
13 changed files with 40 additions and 47 deletions

View File

@@ -4449,7 +4449,10 @@ bool reload_acl_and_cache(THD *thd, ulong options, TABLE_LIST *tables,
{
if ((options & REFRESH_READ_LOCK) && thd)
{
// writing to the binlog could cause deadlocks, as we don't log UNLOCK TABLES
/*
Writing to the binlog could cause deadlocks, as we don't log
UNLOCK TABLES
*/
tmp_write_to_binlog= 0;
if (lock_global_read_lock(thd))
return 1;