summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-08-10 17:37:37 +0300
committermonty@hundin.mysql.fi <>2001-08-10 17:37:37 +0300
commite7575da7bba22e74983374a5a5cca71b182bd23c (patch)
tree2d9d1fce1c8c7170391a58f2fa2731f5c6a02605 /sql/sql_show.cc
parent410faef67eab72a77ad3a69b5fa4770c3150fc65 (diff)
downloadmariadb-git-e7575da7bba22e74983374a5a5cca71b182bd23c.tar.gz
Portability fixes
Added record_rnd_buffer Added --safe-user-create Fix for ALTER TABLE RENAME on windows
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 637ab4fe7e9..71ee60e1eca 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -220,7 +220,7 @@ mysql_find_files(THD *thd,List<char> *files, const char *db,const char *path,
table_list.db= (char*) db;
table_list.real_name=file->name;
table_list.grant.privilege=col_access;
- if (check_grant(thd,TABLE_ACLS,&table_list,1))
+ if (check_grant(thd,TABLE_ACLS,&table_list,1,1))
continue;
}
if (files->push_back(thd->strdup(file->name)))