mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Fixed bugs causing failures fot the funcs_1 test suite.
Uncommented the failing test cases. Commented out the failing test case from parts.partition_repair_myisam.test. The test case has to be changed to bear the same semantics as before mwl106.
This commit is contained in:
@ -1346,7 +1346,12 @@ static bool mysql_test_delete(Prepared_statement *stmt,
|
||||
mysql_handle_list_of_derived(thd->lex, table_list, DT_PREPARE))
|
||||
goto error;
|
||||
|
||||
if (!table_list->table)
|
||||
if (!table_list->updatable)
|
||||
{
|
||||
my_error(ER_NON_UPDATABLE_TABLE, MYF(0), table_list->alias, "DELETE");
|
||||
goto error;
|
||||
}
|
||||
if (!table_list->table || !table_list->table->created)
|
||||
{
|
||||
my_error(ER_VIEW_DELETE_MERGE_VIEW, MYF(0),
|
||||
table_list->view_db.str, table_list->view_name.str);
|
||||
|
Reference in New Issue
Block a user