summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-05-05 21:21:41 +0300
committerbell@sanja.is.com.ua <>2004-05-05 21:21:41 +0300
commitc5c35c667ea626be7a0da7621db141e01485632c (patch)
treedc6fc7f740dabf7da6ce3e21af3673dc04bbd8fd /sql/sql_lex.h
parente9492cca059564ca4980c37a56a3aaf68f427e18 (diff)
downloadmariadb-git-c5c35c667ea626be7a0da7621db141e01485632c.tar.gz
caching of queries with isammerge tables forbiden using general way
SQL_SELECT_LIMIT as default will be applied only for SELECT statement if there was not explicit LIMIT clause correct table list passed to class constructor of select_update
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index ea1accabf37..50f13a0391c 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -418,6 +418,8 @@ public:
bool braces; /* SELECT ... UNION (SELECT ... ) <- this braces */
/* TRUE when having fix field called in processing of this SELECT */
bool having_fix_field;
+ /* explicit LIMIT clause was used */
+ bool explicit_limit;
/*
SELECT for SELECT command st_select_lex. Used to privent scaning