summaryrefslogtreecommitdiff
path: root/sql/sql_prepare.cc
diff options
context:
space:
mode:
authorNikita Malyavin <nikitamalyavin@gmail.com>2020-07-21 23:12:32 +1000
committerNikita Malyavin <nikitamalyavin@gmail.com>2020-07-21 23:12:32 +1000
commitebca70ead3604df9f64480941ac63119a90bd270 (patch)
treee6ca4ae0b85cabd33b853199115a7e9a88b187e1 /sql/sql_prepare.cc
parent5acd391e8b2d4d760ae7f96a59413c9ea247e9b1 (diff)
downloadmariadb-git-ebca70ead3604df9f64480941ac63119a90bd270.tar.gz
fix c++98 build
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r--sql/sql_prepare.cc4
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;
}