diff options
author | unknown <malff/marcsql@weblab.(none)> | 2007-06-27 09:15:12 -0600 |
---|---|---|
committer | unknown <malff/marcsql@weblab.(none)> | 2007-06-27 09:15:12 -0600 |
commit | 1685f7480f4661e9b4664a9f1a434be862ef73c5 (patch) | |
tree | c731d16b78d5a11c8bbef078c52b2441509f83c1 /sql/sql_class.h | |
parent | a0fa27cf359397d721272635482a7d03687ad241 (diff) | |
parent | 0f719e7407bbdb8399c1292d76e3c5a2cea71636 (diff) | |
download | mariadb-git-1685f7480f4661e9b4664a9f1a434be862ef73c5.tar.gz |
Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base
into weblab.(none):/home/marcsql/TREE/mysql-5.1-rt-merge
sql/sql_class.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_view.cc:
Auto merged
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index c46adc62c7c..f549ddf234e 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -436,6 +436,13 @@ public: #ifndef DBUG_OFF bool is_backup_arena; /* True if this arena is used for backup. */ #endif + /* + The states relfects three diffrent life cycles for three + different types of statements: + Prepared statement: INITIALIZED -> PREPARED -> EXECUTED. + Stored procedure: INITIALIZED_FOR_SP -> EXECUTED. + Other statements: CONVENTIONAL_EXECUTION never changes. + */ enum enum_state { INITIALIZED= 0, INITIALIZED_FOR_SP= 1, PREPARED= 2, |