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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
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
Hide 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 @@ dict_create_foreign_constraints_low(
goto
loop
;
}
ptr
=
dict_scan_id
(
ptr
,
&
constraint_name
,
&
constraint_name_len
,
FALSE
);
do
{
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
{
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