summaryrefslogtreecommitdiff
path: root/sql/sql_table.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_table.cc
parenta20b167cae50d938914f0a024bf31546305d17cb (diff)
downloadmariadb-git-b33115ecf9f99c1ffee158d193cafa53b438e52c.tar.gz
INSERT ... UPDATE ... VALUES()
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 8d216f121ab..9e8cefee223 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -1762,7 +1762,7 @@ int mysql_alter_table(THD *thd,char *new_db, char *new_name,
}
/* Full alter table */
- restore_record(table,2); // Empty record for DEFAULT
+ restore_record(table,default_values); // Empty record for DEFAULT
List_iterator<Alter_drop> drop_it(drop_list);
List_iterator<create_field> def_it(fields);
List_iterator<Alter_column> alter_it(alter_list);