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 | 1eda9dc777efe7d2e6db05460ab00b67ad3d7e41 (patch) | |
tree | e141eed482706ba08b9c6f03957e908c35020e2a /sql/sql_class.h | |
parent | d7abca9ac38fc36eb3ff7f96409c0cabe5f5c03e (diff) | |
parent | d969cbc5783a88406428a94ae4a01036e742178c (diff) | |
download | mariadb-git-1eda9dc777efe7d2e6db05460ab00b67ad3d7e41.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; } |