1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

INSERT ... UPDATE ... VALUES()

This commit is contained in:
unknown
2003-05-03 01:16:56 +02:00
parent a20b167cae
commit b33115ecf9
19 changed files with 166 additions and 67 deletions

View File

@ -993,7 +993,7 @@ int dump_leaf(byte* key, uint32 count __attribute__((unused)),
int error;
/*
The first item->rec_offset bytes are taken care of with
restore_record(table,2) in setup()
restore_record(table,default_values) in setup()
*/
memcpy(buf + item->rec_offset, key, item->tree->size_of_element);
if ((error = item->table->file->write_row(buf)))
@ -1075,7 +1075,7 @@ bool Item_sum_count_distinct::setup(THD *thd)
void* cmp_arg;
// to make things easier for dump_leaf if we ever have to dump to MyISAM
restore_record(table,2);
restore_record(table,default_values);
if (table->fields == 1)
{