summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <malff/marcsql@weblab.(none)>2007-04-25 21:38:12 -0600
committerunknown <malff/marcsql@weblab.(none)>2007-04-25 21:38:12 -0600
commit034c11f3cdac8b2b39dd8593d1fbad5b92f98879 (patch)
treef8e46975bbaed334eddc4cc2ab0c1b752a7b321d /sql/sql_class.h
parent5e414cd222b1d39eb49371ba28fb990a963017c5 (diff)
downloadmariadb-git-034c11f3cdac8b2b39dd8593d1fbad5b92f98879.tar.gz
manual merge 5.0-runtime -> 5.1->runtime, with 25411 part I
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 48a88087fd3..fd88df4bcc8 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -31,6 +31,7 @@ class Load_log_event;
class Slave_log_event;
class sp_rcontext;
class sp_cache;
+class Lex_input_stream;
class Rows_log_event;
enum enum_enable_or_disable { LEAVE_AS_IS, ENABLE, DISABLE };
@@ -1423,6 +1424,16 @@ public:
*/
query_id_t first_query_id;
} binlog_evt_union;
+
+ /**
+ Character input stream consumed by the lexical analyser,
+ used during parsing.
+ Note that since the parser is not re-entrant, we keep only one input
+ stream here. This member is valid only when executing code during parsing,
+ and may point to invalid memory after that.
+ */
+ Lex_input_stream *m_lip;
+
#ifdef WITH_PARTITION_STORAGE_ENGINE
partition_info *work_part_info;
#endif