summaryrefslogtreecommitdiff
path: root/sql/parse_file.cc
diff options
context:
space:
mode:
authordlenev@brandersnatch.localdomain <>2004-10-08 15:16:03 +0400
committerdlenev@brandersnatch.localdomain <>2004-10-08 15:16:03 +0400
commit80d2d8d662d9e3db96295d831358a5d633a3c2eb (patch)
treef77a777a10891cf8f8877a9e08f960f2a20da543 /sql/parse_file.cc
parentffc8bd5986ff1c6b1ca8a66cd78d309d5726dd13 (diff)
downloadmariadb-git-80d2d8d662d9e3db96295d831358a5d633a3c2eb.tar.gz
Fix for bug #5887 "Triggers with string literals cause errors"
Fixed small error in new .FRM parser which caused it to handle improperly escaped strings.
Diffstat (limited to 'sql/parse_file.cc')
-rw-r--r--sql/parse_file.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/parse_file.cc b/sql/parse_file.cc
index 16674793b48..f548c16d808 100644
--- a/sql/parse_file.cc
+++ b/sql/parse_file.cc
@@ -502,6 +502,7 @@ read_escaped_string(char *ptr, char *eol, LEX_STRING *str)
break;
case '\'':
*write_pos= '\'';
+ break;
default:
return TRUE;
}