summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-10-25 02:27:40 +0300
committermonty@mysql.com <>2005-10-25 02:27:40 +0300
commit3e653fb922ca6a9b4233cd1d8625031e851d33c5 (patch)
tree56b86b67bce65a21ff4ffd27cd2dd139b110b622 /sql/sql_load.cc
parentea3ea9ed1001a0f0d0a86297896b465f9d1cbaf8 (diff)
downloadmariadb-git-3e653fb922ca6a9b4233cd1d8625031e851d33c5.tar.gz
Added more tests for new UPDATE ... ORDER BY ... LIMIT optimization
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r--sql/sql_load.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index 3b7c6608aef..aa4ea3e6c8c 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -818,11 +818,8 @@ int READ_INFO::read_field()
*to++ = (byte) unescape((char) chr);
continue;
}
- else
- {
- PUSH(chr);
- chr= escape_char;
- }
+ PUSH(chr);
+ chr= escape_char;
}
#ifdef ALLOW_LINESEPARATOR_IN_STRINGS
if (chr == line_term_char)