summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-09-02 19:56:55 +0300
committerbell@sanja.is.com.ua <>2003-09-02 19:56:55 +0300
commit51374e569ddf25822dec7a084cff0265714313f5 (patch)
tree354683527bb4727d44f35e20a3d4f06e5e53d9b3 /sql/sql_lex.h
parent0f456a480e25521f7d712c7043a7ec27d9c171d8 (diff)
downloadmariadb-git-51374e569ddf25822dec7a084cff0265714313f5.tar.gz
fixed BUG#1180 (changing WHERE clause of prepared statements by optimisation)
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 7c39d2fe776..bbf1cd9a130 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -339,6 +339,7 @@ class st_select_lex: public st_select_lex_node
public:
char *db, *db1, *table1, *db2, *table2; /* For outer join using .. */
Item *where, *having; /* WHERE & HAVING clauses */
+ Item *prep_where; /* saved WHERE clause for prepared statement processing */
enum olap_type olap;
SQL_LIST table_list, group_list; /* FROM & GROUP BY clauses */
List<Item> item_list; /* list of fields & expressions */