summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
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 37342d47d78..568778c021d 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -1026,11 +1026,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)