Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
fe8fbaad
Commit
fe8fbaad
authored
Jan 04, 2011
by
Jimmy Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug #59197 double quote in field comment prevents foreign key
constraint creation
rb://557
Approved by Sunny Bains
parent
c143ff48
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
storage/innobase/dict/dict0dict.c
storage/innobase/dict/dict0dict.c
+1
-1
storage/innodb_plugin/ChangeLog
storage/innodb_plugin/ChangeLog
+5
-0
storage/innodb_plugin/dict/dict0dict.c
storage/innodb_plugin/dict/dict0dict.c
+1
-1
No files found.
storage/innobase/dict/dict0dict.c
View file @
fe8fbaad
...
...
@@ -2217,7 +2217,7 @@ dict_scan_to(
quote
=
'\0'
;
}
else
if
(
quote
)
{
/* Within quotes: do nothing. */
}
else
if
(
*
ptr
==
'`'
||
*
ptr
==
'"'
)
{
}
else
if
(
*
ptr
==
'`'
||
*
ptr
==
'"'
||
*
ptr
==
'\''
)
{
/* Starting quote: remember the quote character. */
quote
=
*
ptr
;
}
else
{
...
...
storage/innodb_plugin/ChangeLog
View file @
fe8fbaad
2011-01-04 The InnoDB Team
* dict/dict0dict.c:
Fix Bug#59197 double quote in field comment prevents foreign
key constraint creation
2010-12-21 The InnoDB Team
* include/btr0cur.h, include/row0upd.h, btr/btr0cur.c,
row/row0umod.c, row/row0upd.c:
...
...
storage/innodb_plugin/dict/dict0dict.c
View file @
fe8fbaad
...
...
@@ -2688,7 +2688,7 @@ dict_scan_to(
quote
=
'\0'
;
}
else
if
(
quote
)
{
/* Within quotes: do nothing. */
}
else
if
(
*
ptr
==
'`'
||
*
ptr
==
'"'
)
{
}
else
if
(
*
ptr
==
'`'
||
*
ptr
==
'"'
||
*
ptr
==
'\''
)
{
/* Starting quote: remember the quote character. */
quote
=
*
ptr
;
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment