diff options
author | unknown <monty@narttu.mysql.fi> | 2003-08-22 04:08:16 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-08-22 04:08:16 +0300 |
commit | e3ceec7136aeac433a074dd923cc790af13b9546 (patch) | |
tree | c3a5ca53ed97e6b417113fdc3d7edff47cd5e6ae /sql/sql_load.cc | |
parent | ec4d0edf85b414bc817b81f9cbae01299f2fa463 (diff) | |
parent | 64393d7e24fe90f5badf3f25f25cc5a24f34b70e (diff) | |
download | mariadb-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.cc | 8 |
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) { |