mirror of
https://github.com/MariaDB/server.git
synced 2025-07-13 02:22:51 +03:00
System Versioning 1.0 pre5 [closes #407]
Merge branch '10.3' into trunk Both field_visibility and VERS_HIDDEN_FLAG exist independently. TODO: VERS_HIDDEN_FLAG should be replaced with SYSTEM_INVISIBLE (or COMPLETELY_INVISIBLE?).
This commit is contained in:
@ -997,7 +997,8 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list,
|
||||
No field list, all fields are set explicitly:
|
||||
INSERT INTO t1 VALUES (values)
|
||||
*/
|
||||
if (thd->lex->used_tables) // Column used in values()
|
||||
if (thd->lex->used_tables || // Column used in values()
|
||||
table->s->visible_fields != table->s->fields)
|
||||
restore_record(table,s->default_values); // Get empty record
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user