summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <gshchepa/uchum@gleb.loc>2007-07-05 03:34:56 +0500
committerunknown <gshchepa/uchum@gleb.loc>2007-07-05 03:34:56 +0500
commite0f93ca8c1955cc2766c224703a278e66d9c05bc (patch)
tree1f70555dd3fd8c1b9579243c05e3499229bf4906 /sql/sql_class.h
parent7edcebc97a817f7b157df86504e937600a2716d2 (diff)
parente2ccd8f8496836a253e7c1621c5d2781d17b18cd (diff)
downloadmariadb-git-e0f93ca8c1955cc2766c224703a278e66d9c05bc.tar.gz
Merge gleb.loc:/home/uchum/work/bk/5.0
into gleb.loc:/home/uchum/work/bk/5.0-opt sql/sql_class.h: Auto merged
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h9
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) {}