mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
fix c++98 build
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user