diff options
author | unknown <dlenev@mysql.com> | 2005-07-19 22:02:53 +0400 |
---|---|---|
committer | unknown <dlenev@mysql.com> | 2005-07-19 22:02:53 +0400 |
commit | edcdd6cfcae9c0887e910b3e5ab390502fb3882e (patch) | |
tree | 72ff619d82c61aa2b44b24c42c546fe6a18d1d9c /sql/sp.cc | |
parent | 3b4d10a23d744186be2d91d5301c9f363c34193a (diff) | |
parent | de1b11087cb3db7b0fc3ee4451eb54d30a0a56cf (diff) | |
download | mariadb-git-edcdd6cfcae9c0887e910b3e5ab390502fb3882e.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/dlenev/src/mysql-5.0-tn
Diffstat (limited to 'sql/sp.cc')
-rw-r--r-- | sql/sp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sp.cc b/sql/sp.cc index 55087f47f5e..a277c6bd253 100644 --- a/sql/sp.cc +++ b/sql/sp.cc @@ -1442,8 +1442,8 @@ sp_cache_routines_and_add_tables_for_triggers(THD *thd, LEX *lex, { Sroutine_hash_entry **last_cached_routine_ptr= (Sroutine_hash_entry **)lex->sroutines_list.next; - for (int i= 0; i < 3; i++) - for (int j= 0; j < 2; j++) + for (int i= 0; i < (int)TRG_EVENT_MAX; i++) + for (int j= 0; j < (int)TRG_ACTION_MAX; j++) if (triggers->bodies[i][j]) { (void)triggers->bodies[i][j]->add_used_tables_to_table_list(thd, |