From a9c47d8cfc9d93dd93409c3d3681a4f726a456e5 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 8 Aug 2002 03:14:44 +0300 Subject: Fix for Intel compiler (ecc) Minor cleanups to other patches. Make --temp-pool default Docs/manual.texi: Changelog configure.in: Fix for Intel compiler (ecc) include/my_global.h: Cleaned up QNX specific code. include/my_pthread.h: Safety include/my_semaphore.h: Cleaned up BSDI fix. mysys/my_pthread.c: Code comments mysys/my_semaphore.c: Fix for BSDI sql/mysqld.cc: Make --temp-pool default sql/sql_parse.cc: Safety --- sql/sql_parse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_parse.cc') diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 3aff3255706..c28b892f05c 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -1476,7 +1476,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; -- cgit v1.2.1