summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <gshchepa/uchum@gleb.loc>2007-10-26 18:05:46 +0500
committerunknown <gshchepa/uchum@gleb.loc>2007-10-26 18:05:46 +0500
commitd2a986b00a586875aacb049caf95b8bc2563308c (patch)
tree89a767a9921239f50bf52cb8dd7248f0f29817c9 /sql/sql_class.h
parent611a8972b8e36373cbc642dee881131de0c4dfd7 (diff)
parent3f3e5bac53fde3d26b2ba13581dee044238d3f20 (diff)
downloadmariadb-git-d2a986b00a586875aacb049caf95b8bc2563308c.tar.gz
Merge gleb.loc:/home/uchum/work/bk/5.0-opt
into gleb.loc:/home/uchum/work/bk/5.1-opt mysql-test/r/select.result: Auto merged mysql-test/r/type_decimal.result: Auto merged mysql-test/t/select.test: Auto merged mysql-test/t/type_decimal.test: Auto merged sql/item.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_yacc.yy: Auto merged sql/share/errmsg.txt: Merge with 5.0-opt
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index c286a87653c..0a045885593 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -2070,6 +2070,7 @@ public:
class select_export :public select_to_file {
uint field_term_length;
int field_sep_char,escape_char,line_sep_char;
+ int field_term_char; // first char of FIELDS TERMINATED BY or MAX_INT
/*
The is_ambiguous_field_sep field is true if a value of the field_sep_char
field is one of the 'n', 't', 'r' etc characters
@@ -2077,6 +2078,12 @@ class select_export :public select_to_file {
*/
bool is_ambiguous_field_sep;
/*
+ The is_ambiguous_field_term is true if field_sep_char contains the first
+ char of the FIELDS TERMINATED BY (ENCLOSED BY is empty), and items can
+ contain this character.
+ */
+ bool is_ambiguous_field_term;
+ /*
The is_unsafe_field_sep field is true if a value of the field_sep_char
field is one of the '0'..'9', '+', '-', '.' and 'e' characters
(see the NUMERIC_CHARS constant value).