diff options
author | Igor Babaev <igor@askmonty.org> | 2017-06-28 22:39:21 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2017-06-28 22:40:27 -0700 |
commit | 13221b1eb20c16c0fd19079b670296aa2b789263 (patch) | |
tree | 52abd466c7269b7bcb8f7cc053af84dbda5e077b /sql/sql_prepare.cc | |
parent | 18a2b0a1681af73181bd98d23ae0973fc1249df5 (diff) | |
download | mariadb-git-13221b1eb20c16c0fd19079b670296aa2b789263.tar.gz |
Fixed a failure of the test case for the bug mdev-13107 in --ps-protocol.
The fix was in the call the open_normal_and_derived_tables() from
the function mysql_test_select() and it was similar to those from
the patch for mdev-13107.
Added explicit PREPARE statements that failed in --ps-protocol.
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r-- | sql/sql_prepare.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc index 92137b30f77..f9da7e530cb 100644 --- a/sql/sql_prepare.cc +++ b/sql/sql_prepare.cc @@ -1590,7 +1590,7 @@ static int mysql_test_select(Prepared_statement *stmt, } if (open_normal_and_derived_tables(thd, tables, MYSQL_OPEN_FORCE_SHARED_MDL, - DT_PREPARE | DT_CREATE)) + DT_INIT | DT_PREPARE | DT_CREATE)) goto error; thd->lex->used_tables= 0; // Updated by setup_fields |