diff options
author | Nikita Malyavin <nikitamalyavin@gmail.com> | 2020-07-21 23:12:32 +1000 |
---|---|---|
committer | Nikita Malyavin <nikitamalyavin@gmail.com> | 2020-07-21 23:12:32 +1000 |
commit | ebca70ead3604df9f64480941ac63119a90bd270 (patch) | |
tree | e6ca4ae0b85cabd33b853199115a7e9a88b187e1 /sql/sql_prepare.cc | |
parent | 5acd391e8b2d4d760ae7f96a59413c9ea247e9b1 (diff) | |
download | mariadb-git-ebca70ead3604df9f64480941ac63119a90bd270.tar.gz |
fix c++98 build
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r-- | sql/sql_prepare.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc index b2ee5abd8b6..f0c9f818f87 100644 --- a/sql/sql_prepare.cc +++ b/sql/sql_prepare.cc @@ -338,7 +338,7 @@ find_prepared_statement(THD *thd, ulong id) thd->last_stmt : thd->stmt_map.find(id)); - if (stmt == 0 || stmt->type() != Query_arena::Type::PREPARED_STATEMENT) + if (stmt == 0 || stmt->type() != Query_arena::PREPARED_STATEMENT) return NULL; return (Prepared_statement *) stmt; @@ -3893,7 +3893,7 @@ Prepared_statement::~Prepared_statement() Query_arena::Type Prepared_statement::type() const { - return Type::PREPARED_STATEMENT; + return PREPARED_STATEMENT; } |