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
3d5e2e86
Commit
3d5e2e86
authored
Aug 05, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Replace <number> with NUMBER in some comments,
to avoid problems with Doxygen XML output.
parent
7aead512
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
dict/dict0crea.c
dict/dict0crea.c
+1
-1
include/dict0crea.h
include/dict0crea.h
+1
-1
row/row0mysql.c
row/row0mysql.c
+1
-1
No files found.
dict/dict0crea.c
View file @
3d5e2e86
...
...
@@ -1379,7 +1379,7 @@ dict_create_add_foreign_field_to_dictionary(
Add a single foreign key definition to the data dictionary tables in the
database. We also generate names to constraints that were not named by the
user. A generated constraint has a name of the format
databasename/tablename_ibfk_
<number>
, where the numbers start from 1, and
databasename/tablename_ibfk_
NUMBER
, where the numbers start from 1, and
are given locally for this table, that is, the number is not global, as in
the old format constraints < 4.0.18 it used to be.
@return error code or DB_SUCCESS */
...
...
include/dict0crea.h
View file @
3d5e2e86
...
...
@@ -110,7 +110,7 @@ dict_create_or_check_foreign_constraint_tables(void);
Adds foreign key definitions to data dictionary tables in the database. We
look at table->foreign_list, and also generate names to constraints that were
not named by the user. A generated constraint has a name of the format
databasename/tablename_ibfk_
<number>
, where the numbers start from 1, and are
databasename/tablename_ibfk_
NUMBER
, where the numbers start from 1, and are
given locally for this table, that is, the number is not global, as in the
old format constraints < 4.0.18 it used to be.
@return error code or DB_SUCCESS */
...
...
row/row0mysql.c
View file @
3d5e2e86
...
...
@@ -3590,7 +3590,7 @@ row_delete_constraint(
if
((
err
==
DB_SUCCESS
)
&&
!
strchr
(
id
,
'/'
))
{
/* Old format < 4.0.18 constraints have constraint ids
<number>_<number>
. We only try deleting them if the
NUMBER_NUMBER
. We only try deleting them if the
constraint name does not contain a '/' character, otherwise
deleting a new format constraint named 'foo/bar' from
database 'baz' would remove constraint 'bar' from database
...
...
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