summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-05-03 01:16:56 +0200
committerunknown <serg@serg.mylan>2003-05-03 01:16:56 +0200
commitb33115ecf9f99c1ffee158d193cafa53b438e52c (patch)
tree467d41e9c8504f3a06fc667f9a989394e4a6bce7 /sql/sql_load.cc
parenta20b167cae50d938914f0a024bf31546305d17cb (diff)
downloadmariadb-git-b33115ecf9f99c1ffee158d193cafa53b438e52c.tar.gz
INSERT ... UPDATE ... VALUES()
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r--sql/sql_load.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index 3c43c3d9e3a..a68eada0025 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -238,7 +238,7 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
lf_info.log_delayed= log_delayed;
read_info.set_io_cache_arg((void*) &lf_info);
}
- restore_record(table,2);
+ restore_record(table,default_values);
thd->count_cuted_fields=1; /* calc cuted fields */
thd->cuted_fields=0L;