diff options
author | unknown <monty@mysql.com> | 2004-12-31 00:50:30 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2004-12-31 00:50:30 +0200 |
commit | 12a215b0833d9aa688ba16fe56eb3411a83e7d4f (patch) | |
tree | d4dfebc9b9c93790a9be3f9e6807f3923a6b3d3e /sql/tztime.h | |
parent | cdf70f2ede108267ce492abada82ca753f269e25 (diff) | |
parent | 2e8d13c73ec986dde580c9c840f421af4279611a (diff) | |
download | mariadb-git-12a215b0833d9aa688ba16fe56eb3411a83e7d4f.tar.gz |
Merge with global tree
BitKeeper/etc/logging_ok:
auto-union
client/mysqltest.c:
Auto merged
innobase/dict/dict0dict.c:
Auto merged
innobase/include/dict0dict.h:
Auto merged
libmysql/errmsg.c:
Auto merged
myisam/mi_open.c:
Auto merged
myisam/mi_write.c:
Auto merged
mysql-test/r/grant.result:
Auto merged
mysql-test/r/merge.result:
Auto merged
mysql-test/r/show_check.result:
Auto merged
mysql-test/t/derived.test:
Auto merged
mysql-test/t/merge.test:
Auto merged
mysql-test/t/show_check.test:
Auto merged
mysql-test/t/system_mysql_db_fix.test:
Auto merged
scripts/mysql_install_db.sh:
Auto merged
sql/ha_innodb.cc:
Auto merged
sql/handler.cc:
Auto merged
sql/item.cc:
Auto merged
sql/item_func.cc:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/mysqld.cc:
Auto merged
sql/set_var.cc:
Auto merged
sql/sp.cc:
Auto merged
sql/sql_acl.cc:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_lex.cc:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_select.cc:
Auto merged
sql/sql_show.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
sql/table.cc:
Auto merged
sql/table.h:
Auto merged
sql/tztime.h:
Auto merged
Diffstat (limited to 'sql/tztime.h')
-rw-r--r-- | sql/tztime.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/tztime.h b/sql/tztime.h index 07e9146c6e9..caf663fc8cb 100644 --- a/sql/tztime.h +++ b/sql/tztime.h @@ -67,8 +67,8 @@ extern void my_tz_free(); extern TABLE_LIST fake_time_zone_tables_list; /* - Check if we have pointer to the beggining of list of implictly used - time zone tables and fast-forward to its end. + Check if we have pointer to the begining of list of implicitly used time + zone tables, set SELECT_ACL for them and fast-forward to its end. SYNOPSIS my_tz_check_n_skip_implicit_tables() @@ -88,6 +88,8 @@ inline bool my_tz_check_n_skip_implicit_tables(TABLE_LIST **table, { if (*table == tz_tables) { + for (int i= 0; i < 4; i++) + (*table)[i].grant.privilege= SELECT_ACL; (*table)+= 3; return TRUE; } |