summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-08-08 12:05:18 +0300
committerunknown <monty@hundin.mysql.fi>2002-08-08 12:05:18 +0300
commitca1875f54033c5ea067ec3ec07b00375de6975d7 (patch)
treee4fd56548f8b7114557c187ad8aa70c1c5c26d52 /sql/sql_parse.cc
parenta6b15fdd7682bffc2e197ac50e21332bb9bcf297 (diff)
parenta9c47d8cfc9d93dd93409c3d3681a4f726a456e5 (diff)
downloadmariadb-git-ca1875f54033c5ea067ec3ec07b00375de6975d7.tar.gz
merge
configure.in: Auto merged include/my_pthread.h: Auto merged sql/mysqld.cc: Auto merged sql/sql_parse.cc: Auto merged
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 19b58ffbd25..14ed24ad3f7 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -1493,7 +1493,7 @@ mysql_execute_command(void)
/* Check that the first table has CREATE privilege */
TABLE_LIST *tmp_table_list=tables->next;
tables->next=0;
- bool error=check_grant(thd,CREATE_ACL,tables);
+ bool error=check_grant(thd, want_priv, tables);
tables->next=tmp_table_list;
if (error)
goto error;