diff options
author | monty@mysql.com <> | 2004-12-31 00:50:30 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2004-12-31 00:50:30 +0200 |
commit | 34d5331cee44cdcb62245779ad486ccbef6bf4c2 (patch) | |
tree | d4dfebc9b9c93790a9be3f9e6807f3923a6b3d3e /sql/tztime.h | |
parent | 4dbd101c571a71db38d4ecb61f3ce6b87012122a (diff) | |
parent | d71c030587c8638422c5e7d23043430f2733575b (diff) | |
download | mariadb-git-34d5331cee44cdcb62245779ad486ccbef6bf4c2.tar.gz |
Merge with global tree
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; } |