diff options
author | Evgeny Potemkin <epotemkin@mysql.com> | 2009-12-02 16:49:21 +0300 |
---|---|---|
committer | Evgeny Potemkin <epotemkin@mysql.com> | 2009-12-02 16:49:21 +0300 |
commit | e4344ffa4199b0dcab72e3f93e9f572f2610fa74 (patch) | |
tree | e141eed482706ba08b9c6f03957e908c35020e2a /sql/sql_class.h | |
parent | f81700aa4ead8af29ec34870eefa61abfab12bee (diff) | |
parent | 1a0f3c38b84fc0cad0bda98abeb4ba3809166447 (diff) | |
download | mariadb-git-e4344ffa4199b0dcab72e3f93e9f572f2610fa74.tar.gz |
Auto-merged.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index f74524de60e..8acc03f929d 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -548,6 +548,8 @@ public: { return state == INITIALIZED_FOR_SP; } inline bool is_stmt_prepare_or_first_sp_execute() const { return (int)state < (int)PREPARED; } + inline bool is_stmt_prepare_or_first_stmt_execute() const + { return (int)state <= (int)PREPARED; } inline bool is_first_stmt_execute() const { return state == PREPARED; } inline bool is_stmt_execute() const { return state == PREPARED || state == EXECUTED; } |