MDEV-9058: protocol: COM_MULTI command (part 2)

simple COM_MULTI support (no prepared statements chain yet).
This commit is contained in:
Oleksandr Byelkin 2016-01-05 20:44:45 +01:00
commit fd1b7d0f59
9 changed files with 217 additions and 40 deletions

View file

@ -907,7 +907,7 @@ static int run_sql_command(THD *thd, const char *query)
return -1;
}
mysql_parse(thd, thd->query(), thd->query_length(), &ps);
mysql_parse(thd, thd->query(), thd->query_length(), &ps, FALSE);
if (thd->is_error())
{
int const err= thd->get_stmt_da()->sql_errno();