Commit 61aaf4ed authored by Alexey Kopytov's avatar Alexey Kopytov

Fixed ha_ndbcluster_binlog.cc to use Parser_state::init().

parent 20e0a9ab
......@@ -277,7 +277,8 @@ static void run_query(THD *thd, char *buf, char *end,
DBUG_ASSERT(!thd->locked_tables_mode);
{
Parser_state parser_state(thd, thd->query(), thd->query_length());
Parser_state parser_state;
if (!parser_state.init(thd, thd->query(), thd->query_length()))
mysql_parse(thd, thd->query(), thd->query_length(), &parser_state);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment