summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-08-22 04:08:16 +0300
committerunknown <monty@narttu.mysql.fi>2003-08-22 04:08:16 +0300
commite3ceec7136aeac433a074dd923cc790af13b9546 (patch)
treec3a5ca53ed97e6b417113fdc3d7edff47cd5e6ae /sql/sql_load.cc
parentec4d0edf85b414bc817b81f9cbae01299f2fa463 (diff)
parent64393d7e24fe90f5badf3f25f25cc5a24f34b70e (diff)
downloadmariadb-git-e3ceec7136aeac433a074dd923cc790af13b9546.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into narttu.mysql.fi:/my/mysql-4.0 client/mysqltest.c: Auto merged sql/sql_load.cc: Auto merged
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r--sql/sql_load.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index 593cfb82b1c..2e7bf1d5d78 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -767,9 +767,13 @@ int READ_INFO::read_field()
row_end= to;
return 0;
}
- /* Copy the found '"' character */
+ /*
+ The string didn't terminate yet.
+ Store back next character for the loop
+ */
PUSH(chr);
- chr='"';
+ /* copy the found term character to 'to' */
+ chr= found_enclosed_char;
}
else if (chr == field_term_char && found_enclosed_char == INT_MAX)
{