diff options
author | monty@mysql.com <> | 2005-06-01 16:35:09 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2005-06-01 16:35:09 +0300 |
commit | a69f4321155fced6ef3a771e68b7dab1d2f119cc (patch) | |
tree | ad666c13b9844b04a96005aa6c422f8542efce7c /sql/uniques.cc | |
parent | e253b7815a2f27461d47a6097aa5b6cc6458de1a (diff) | |
download | mariadb-git-a69f4321155fced6ef3a771e68b7dab1d2f119cc.tar.gz |
Code cleanups during code reviews
Ensure we get error if INSERT IGNORE ... SELECT fails
Fixed wrong key_part->key_length usage in index_merge
Diffstat (limited to 'sql/uniques.cc')
-rw-r--r-- | sql/uniques.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/uniques.cc b/sql/uniques.cc index b08727705e4..367aed2d113 100644 --- a/sql/uniques.cc +++ b/sql/uniques.cc @@ -178,7 +178,7 @@ static double get_merge_many_buffs_cost(uint *buffer, Set initial state: first maxbuffer sequences contain max_n_elems elements each, last sequence contains last_n_elems elements. */ - for(i = 0; i < (int)maxbuffer; i++) + for (i = 0; i < (int)maxbuffer; i++) buff_elems[i]= max_n_elems; buff_elems[maxbuffer]= last_n_elems; |