summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2001-07-25 15:28:37 +0300
committerunknown <Sinisa@sinisa.nasamreza.org>2001-07-25 15:28:37 +0300
commitc39344528e4cb6122f10cc36a8cdfe54610b3ff8 (patch)
tree93fcf0718ba0ae87347fcfff472687bf6455531d /sql/sql_insert.cc
parentcab947d58a123384489541dfd3b681ca15c298a2 (diff)
downloadmariadb-git-c39344528e4cb6122f10cc36a8cdfe54610b3ff8.tar.gz
UNION's
sql/sql_insert.cc: Some tweaking for unions sql/sql_parse.cc: Init of options for unions sql/sql_unions.cc: T
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r--sql/sql_insert.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index 195bd559145..5ac55ca6eac 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -1239,12 +1239,12 @@ select_insert::prepare(List<Item> &values)
table->next_number_field=table->found_next_number_field;
thd->count_cuted_fields=1; /* calc cuted fields */
thd->cuted_fields=0;
- if (info.handle_duplicates != DUP_REPLACE)
- table->file->extra(HA_EXTRA_WRITE_CACHE);
- if (info.handle_duplicates == DUP_IGNORE ||
- info.handle_duplicates == DUP_REPLACE)
- table->file->extra(HA_EXTRA_IGNORE_DUP_KEY);
- table->file->deactivate_non_unique_index((ha_rows) 0);
+ if (info.handle_duplicates != DUP_REPLACE)
+ table->file->extra(HA_EXTRA_WRITE_CACHE);
+ if (info.handle_duplicates == DUP_IGNORE ||
+ info.handle_duplicates == DUP_REPLACE)
+ table->file->extra(HA_EXTRA_IGNORE_DUP_KEY);
+ table->file->deactivate_non_unique_index((ha_rows) 0);
DBUG_RETURN(0);
}