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
80c37f6a
Commit
80c37f6a
authored
Mar 30, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: parse CONSTRAINT FOREIGN KEY correctly (Bug #3332)
parent
6e79ece1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
innobase/dict/dict0dict.c
innobase/dict/dict0dict.c
+9
-2
No files found.
innobase/dict/dict0dict.c
View file @
80c37f6a
...
@@ -2811,8 +2811,15 @@ loop:
...
@@ -2811,8 +2811,15 @@ loop:
goto
loop
;
goto
loop
;
}
}
ptr
=
dict_scan_id
(
ptr
,
&
constraint_name
,
&
constraint_name_len
,
do
{
FALSE
);
ptr
++
;
}
while
(
isspace
(
*
ptr
));
/* read constraint name unless got "CONSTRAINT FOREIGN" */
if
(
ptr
!=
ptr2
)
{
ptr
=
dict_scan_id
(
ptr
,
&
constraint_name
,
&
constraint_name_len
,
FALSE
);
}
}
else
{
}
else
{
ptr
=
ptr2
;
ptr
=
ptr2
;
}
}
...
...
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