1
0
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:
Igor Babaev
2011-06-03 21:44:37 -07:00
parent dd3b27834c
commit 35c35858f8
8 changed files with 108 additions and 25 deletions

View File

@ -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);