summaryrefslogtreecommitdiff
path: root/sql/parse_file.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/parse_file.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/parse_file.cc')
-rw-r--r--sql/parse_file.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/parse_file.cc b/sql/parse_file.cc
index 6c3a81384a6..7cc563901d2 100644
--- a/sql/parse_file.cc
+++ b/sql/parse_file.cc
@@ -475,7 +475,7 @@ read_escaped_string(char *ptr, char *eol, LEX_STRING *str)
{
char *write_pos= str->str;
- for(; ptr < eol; ptr++, write_pos++)
+ for (; ptr < eol; ptr++, write_pos++)
{
char c= *ptr;
if (c == '\\')
@@ -635,7 +635,7 @@ File_parser::parse(gptr base, MEM_ROOT *mem_root,
File_option *parameter= parameters+first_param,
*parameters_end= parameters+required;
int len= 0;
- for(; parameter < parameters_end; parameter++)
+ for (; parameter < parameters_end; parameter++)
{
len= parameter->name.length;
// check length