mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
multi_update.result:
Test case for a #2996 bug fix multi_update.test: test case for a #2996 bug fix sql_select.cc: Fix for a bug #2996 involving multi-table updates over the const tables sql/sql_select.cc: Fix for a bug #2996 involving multi-table updates over the const tables mysql-test/t/multi_update.test: test case for a #2996 bug fix mysql-test/r/multi_update.result: Test case for a #2996 bug fix
This commit is contained in:
@ -4897,8 +4897,8 @@ join_read_const_table(JOIN_TAB *tab, POSITION *pos)
|
||||
if (tab->on_expr && !table->null_row)
|
||||
{
|
||||
if ((table->null_row= test(tab->on_expr->val_int() == 0)))
|
||||
empty_record(table);
|
||||
}
|
||||
mark_as_null_row(table);
|
||||
}
|
||||
if (!table->null_row)
|
||||
table->maybe_null=0;
|
||||
DBUG_RETURN(0);
|
||||
|
Reference in New Issue
Block a user