1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

5.0-opt -> 5.1-opt merge

This commit is contained in:
unknown
2007-06-12 18:41:56 +03:00
parent e53dfc6df4
commit 95ef943b9e
3 changed files with 7 additions and 6 deletions

View File

@@ -1419,8 +1419,8 @@ int write_record(THD *thd, TABLE *table,COPY_INFO *info)
goto before_trg_err;
table->file->restore_auto_increment(prev_insert_id);
if ((table->file->table_flags() & HA_PARTIAL_COLUMN_READ) ||
compare_record(table, thd->query_id))
if ((table->file->ha_table_flags() & HA_PARTIAL_COLUMN_READ) ||
compare_record(table))
{
if ((error=table->file->ha_update_row(table->record[1],
table->record[0])))