diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2001-07-25 15:28:37 +0300 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2001-07-25 15:28:37 +0300 |
commit | c39344528e4cb6122f10cc36a8cdfe54610b3ff8 (patch) | |
tree | 93fcf0718ba0ae87347fcfff472687bf6455531d /sql/sql_insert.cc | |
parent | cab947d58a123384489541dfd3b681ca15c298a2 (diff) | |
download | mariadb-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.cc | 12 |
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); } |