diff options
author | unknown <andrey@lmy004.> | 2006-06-28 16:02:20 +0200 |
---|---|---|
committer | unknown <andrey@lmy004.> | 2006-06-28 16:02:20 +0200 |
commit | 739ea377bd702a6438d1491222e8ec671ad0fbf3 (patch) | |
tree | c63c981642826f7e195181688ca062dcdba15210 /sql | |
parent | 98211beaee1cffd0ecf28a2157fbb0de3692cc3e (diff) | |
download | mariadb-git-739ea377bd702a6438d1491222e8ec671ad0fbf3.tar.gz |
after merge fix
Diffstat (limited to 'sql')
-rw-r--r-- | sql/events.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/events.cc b/sql/events.cc index cd4d3dff244..5fe5f019c87 100644 --- a/sql/events.cc +++ b/sql/events.cc @@ -628,7 +628,7 @@ Events::fill_schema_events(THD *thd, TABLE_LIST *tables, COND * /* cond */) If it's SHOW EVENTS then thd->lex->select_lex.db is guaranteed not to be NULL. Let's do an assert anyway. */ - if (thd->lex->orig_sql_command == SQLCOM_SHOW_EVENTS) + if (thd->lex->sql_command == SQLCOM_SHOW_EVENTS) { DBUG_ASSERT(thd->lex->select_lex.db); if (check_access(thd, EVENT_ACL, thd->lex->select_lex.db, 0, 0, 0, |