diff options
author | gshchepa/uchum@gleb.loc <> | 2007-07-05 03:34:56 +0500 |
---|---|---|
committer | gshchepa/uchum@gleb.loc <> | 2007-07-05 03:34:56 +0500 |
commit | eb454f85d96666f2116e683c2e016d6dfcf83854 (patch) | |
tree | 1f70555dd3fd8c1b9579243c05e3499229bf4906 /sql/sql_class.h | |
parent | 825570f5a4661612b1385634cdf17a594ceaa51c (diff) | |
parent | cdea05a79377865e0c89aaf72cdc24362b76887e (diff) | |
download | mariadb-git-eb454f85d96666f2116e683c2e016d6dfcf83854.tar.gz |
Merge gleb.loc:/home/uchum/work/bk/5.0
into gleb.loc:/home/uchum/work/bk/5.0-opt
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index d86f097ebe8..23c499aea07 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -1926,9 +1926,18 @@ public: }; +#define ESCAPE_CHARS "ntrb0ZN" // keep synchronous with READ_INFO::unescape + + class select_export :public select_to_file { uint field_term_length; int field_sep_char,escape_char,line_sep_char; + /* + 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 + (see the READ_INFO::unescape method and the ESCAPE_CHARS constant value). + */ + bool is_ambiguous_field_sep; bool fixed_row_size; public: select_export(sql_exchange *ex) :select_to_file(ex) {} |