1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Fixed gethostname_r tests to be more portable

This commit is contained in:
monty@donna.mysql.com
2001-01-01 14:17:10 +02:00
parent 336019a559
commit e05df20dc5
12 changed files with 46 additions and 37 deletions

View File

@ -1652,7 +1652,7 @@ mysql_execute_command(void)
thd->locked_tables=0; // Will be automaticly closed
close_thread_tables(thd);
}
if (check_db_used(thd,tables))
if (check_db_used(thd,tables) || end_active_trans(thd))
goto error;
thd->in_lock_tables=1;
if (!(res=open_and_lock_tables(thd,tables)))