1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Cset exclude: joreland@mysql.com|ChangeSet|20050224071025|18754

This commit is contained in:
joreland@mysql.com
2005-02-25 09:35:09 +01:00
parent 3aa91e242b
commit 65daa271c1

View File

@ -1865,11 +1865,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
mysqld_list_fields(thd,&table_list,fields); mysqld_list_fields(thd,&table_list,fields);
thd->lex->unit.cleanup(); thd->lex->unit.cleanup();
thd->cleanup_after_query(); thd->cleanup_after_query();
#ifdef HAVE_INNOBASE_DB
release_local_lock(thd, locked_tables, old_innodb_table_locks); release_local_lock(thd, locked_tables, old_innodb_table_locks);
#else
release_local_lock(thd, locked_tables, false);
#endif
break; break;
} }
#endif #endif
@ -4605,11 +4601,8 @@ cleanup:
if (thd->lock == thd->locked_tables) if (thd->lock == thd->locked_tables)
thd->lock= 0; thd->lock= 0;
} }
#ifdef HAVE_INNOBASE_DB
release_local_lock(thd, locked_tables, old_innodb_table_locks); release_local_lock(thd, locked_tables, old_innodb_table_locks);
#else
release_local_lock(thd, locked_tables, false);
#endif
DBUG_RETURN(res || thd->net.report_error); DBUG_RETURN(res || thd->net.report_error);
} }