diff options
author | thek@adventure.(none) <> | 2007-06-22 15:40:35 +0200 |
---|---|---|
committer | thek@adventure.(none) <> | 2007-06-22 15:40:35 +0200 |
commit | ccfd0847fce6913906a1df9b89df2a2b8cd33382 (patch) | |
tree | 1d01f65fa2822d5f534d8992e34dc01f1de8db7c /sql/sql_class.h | |
parent | c5baa61fe47e8530ec0bb45f5b3bdaff53ae66b0 (diff) | |
parent | 3e7c1b1cb1125a3cf61b2d45f8052acd69c68fdb (diff) | |
download | mariadb-git-ccfd0847fce6913906a1df9b89df2a2b8cd33382.tar.gz |
Merge adventure.(none):/home/thek/Development/cpp/bug28846/my50-bug28846
into adventure.(none):/home/thek/Development/cpp/mysql-5.0-runtime
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 50c45d461e0..e25e10a40b8 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -697,6 +697,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, |