summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2012-12-05 22:51:11 -0800
committerIgor Babaev <igor@askmonty.org>2012-12-05 22:51:11 -0800
commitdd119466c35d621d191d4d4ddcb578cb02420bdc (patch)
tree518ab13e2d7a160c82745c348f27c4b1253f8ee7 /sql/sql_lex.h
parent81563081e5fb6f016d5be845af55234869a5fb61 (diff)
downloadmariadb-git-dd119466c35d621d191d4d4ddcb578cb02420bdc.tar.gz
Addressed the following issues from the review of the patch:
1. The PERSISTENT FOR clause of the ANALYZE command overrides the setting of the system variable use_stat_tables: with this clause ANALYZE unconditionally collects persistent statistics. 2. ANALYZE collects persistent statistics only for tables of the USER category. So it never collects persistent statistics for system tables.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index fd7d22c26be..e034e06bfef 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -2452,6 +2452,7 @@ struct LEX: public Query_tables_list
this command.
*/
bool parse_vcol_expr;
+ bool with_persistent_for_clause; // uses PERSISTENT FOR clause (in ANALYZE)
enum SSL_type ssl_type; /* defined in violite.h */
enum enum_duplicates duplicates;