diff options
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r-- | sql/sql_prepare.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc index 9cd5d498c14..c57c9dacceb 100644 --- a/sql/sql_prepare.cc +++ b/sql/sql_prepare.cc @@ -1245,8 +1245,8 @@ static bool mysql_test_insert(Prepared_statement *stmt, if (insert_precheck(thd, table_list)) goto error; - upgrade_lock_type_for_insert(thd, &table_list->lock_type, duplic, - values_list.elements > 1); + //upgrade_lock_type_for_insert(thd, &table_list->lock_type, duplic, + // values_list.elements > 1); /* open temporary memory pool for temporary data allocated by derived tables & preparation procedure |