mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
Fix for BUG#5837 - attempt 3.
Call mark_as_null_row in join_read_const and join_read_system. mysql-test/r/multi_update.result: Testcase for BUG#5837 mysql-test/t/multi_update.test: Testcase for BUG#5837 sql/table.h: Added comments
This commit is contained in:
parent
96a927b5dd
commit
8e4251dd85
4 changed files with 31 additions and 4 deletions
10
sql/table.h
10
sql/table.h
|
|
@ -89,8 +89,14 @@ struct st_table {
|
|||
int current_lock; /* Type of lock on table */
|
||||
enum tmp_table_type tmp_table;
|
||||
my_bool copy_blobs; /* copy_blobs when storing */
|
||||
my_bool null_row; /* All columns are null */
|
||||
my_bool maybe_null,outer_join; /* Used with OUTER JOIN */
|
||||
/*
|
||||
Used in outer joins: if true, all columns are considered to have NULL
|
||||
values, including columns declared as "not null".
|
||||
*/
|
||||
my_bool null_row;
|
||||
/* 0 or JOIN_TYPE_{LEFT|RIGHT}, same as TABLE_LIST::outer_join */
|
||||
my_bool outer_join;
|
||||
my_bool maybe_null; /* true if (outer_join != 0) */
|
||||
my_bool force_index;
|
||||
my_bool distinct,const_table,no_rows;
|
||||
my_bool key_read, bulk_insert;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue