summaryrefslogtreecommitdiff
path: root/sql/uniques.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-06-01 16:35:09 +0300
committermonty@mysql.com <>2005-06-01 16:35:09 +0300
commita69f4321155fced6ef3a771e68b7dab1d2f119cc (patch)
treead666c13b9844b04a96005aa6c422f8542efce7c /sql/uniques.cc
parente253b7815a2f27461d47a6097aa5b6cc6458de1a (diff)
downloadmariadb-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.cc2
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;