diff options
author | evgen@moonbone.local <> | 2005-11-11 20:03:32 +0300 |
---|---|---|
committer | evgen@moonbone.local <> | 2005-11-11 20:03:32 +0300 |
commit | 508824f7c414f432673e2cd630c5cbf0dedc3a20 (patch) | |
tree | 7836fb49db9aade041fda89138f31f8587608a44 /sql/sql_view.cc | |
parent | f3502cd9838f75086de49478115d9a54d4a45a3d (diff) | |
download | mariadb-git-508824f7c414f432673e2cd630c5cbf0dedc3a20.tar.gz |
Fix bug #13622 Wrong view .frm created if some field's alias contain \n
View .frm parser assumes that query string will take only 1 line, with \n in
aliases query stringmay take several lines thus produces bad .frm file.
'query' parameter type changed from 'string' to 'escaped string'
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r-- | sql/sql_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc index b30f8cb156c..4e7074dc0e5 100644 --- a/sql/sql_view.cc +++ b/sql/sql_view.cc @@ -496,7 +496,7 @@ static const int num_view_backups= 3; static File_option view_parameters[]= {{{(char*) STRING_WITH_LEN("query")}, offsetof(TABLE_LIST, query), - FILE_OPTIONS_STRING}, + FILE_OPTIONS_ESTRING}, {{(char*) STRING_WITH_LEN("md5")}, offsetof(TABLE_LIST, md5), FILE_OPTIONS_STRING}, |