1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Merge adventure.(none):/home/thek/Development/cpp/bug28846/my50-bug28846

into  adventure.(none):/home/thek/Development/cpp/bug28846/my51-bug28846
This commit is contained in:
thek@adventure.(none)
2007-06-22 15:23:51 +02:00
11 changed files with 75 additions and 22 deletions

View File

@@ -435,6 +435,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,