summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-08-22 04:07:40 +0300
committermonty@narttu.mysql.fi <>2003-08-22 04:07:40 +0300
commitefa85aad49be43ef3cdf8f631b43e9a87d0189b4 (patch)
tree69f51d9d40e937b7da442d9523c0a0a66d5ba847 /sql/sql_load.cc
parent423b1b7c4aa19fe991f65e60bdbf07ba4d9c46fc (diff)
downloadmariadb-git-efa85aad49be43ef3cdf8f631b43e9a87d0189b4.tar.gz
Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files.
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 ee573672c35..4911b1a6b75 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)
{