diff options
author | unknown <sergefp@mysql.com> | 2004-04-08 17:08:56 +0400 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2004-04-08 17:08:56 +0400 |
commit | 718d1f0aa7dd94f6bcadbb8418ad26db9b8f2c57 (patch) | |
tree | 72c1a87b4e8eec4fa218606afa87f91b72e1cba4 /sql/sql_lex.h | |
parent | 94002eb59512e78df76922ae5c2204359fc306e4 (diff) | |
parent | 4ceaf3a6292e08e33ba4e985e72e72d87cd9743f (diff) | |
download | mariadb-git-718d1f0aa7dd94f6bcadbb8418ad26db9b8f2c57.tar.gz |
Merge
sql/item.cc:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/mysqld.cc:
Auto merged
sql/sql_class.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_prepare.cc:
Auto merged
sql/sql_yacc.yy:
SCCS merged
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 6ea4ae0b85d..4f9a2f134ce 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -76,6 +76,7 @@ enum enum_sql_command { SQLCOM_SHOW_COLUMN_TYPES, SQLCOM_SHOW_STORAGE_ENGINES, SQLCOM_SHOW_PRIVILEGES, SQLCOM_HELP, SQLCOM_DROP_USER, SQLCOM_REVOKE_ALL, SQLCOM_CHECKSUM, + SQLCOM_PREPARE, SQLCOM_EXECUTE, SQLCOM_DEALLOCATE_PREPARE, /* This should be the last !!! */ SQLCOM_END }; @@ -592,6 +593,11 @@ typedef struct st_lex bool in_comment, ignore_space, verbose, simple_alter, no_write_to_binlog; bool derived_tables; bool safe_to_cache_query; + /* Prepared statements SQL syntax:*/ + LEX_STRING prepared_stmt_name; /* Statement name (in all queries) */ + LEX_STRING prepared_stmt_code; /* Statement query (in PREPARE )*/ + /* Names of user variables holding parameters (in EXECUTE) */ + List<LEX_STRING> prepared_stmt_params; st_lex() {} inline void uncacheable(uint8 cause) { |