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

After merge fixes for WL#1218 "Triggers"

mysql-test/t/trigger.test:
  After merge fix, error codes corrected.
sql/sp_head.cc:
  After mrege fix. Fixed typo.
sql/sql_trigger.cc:
  After merge fix. wait_if_gloabl_read_lock has one more argument now.
This commit is contained in:
unknown
2004-09-09 23:44:27 +04:00
parent eb75a9fd8d
commit 97cbcbb0d7
3 changed files with 12 additions and 13 deletions

View File

@@ -88,7 +88,7 @@ int mysql_create_or_drop_trigger(THD *thd, TABLE_LIST *tables, bool create)
again until we are done. (Acquiring LOCK_open is not enough because
global read lock is held without helding LOCK_open).
*/
if (wait_if_global_read_lock(thd, 0))
if (wait_if_global_read_lock(thd, 0, 0))
DBUG_RETURN(-1);
VOID(pthread_mutex_lock(&LOCK_open));