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
1aa56d1c
Commit
1aa56d1c
authored
Feb 08, 2002
by
heikki@donna.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dict0crea.c:
Add some error messages to help in tracking Harald Fuchs' foreign key failure
parent
f84ca37e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
innobase/dict/dict0crea.c
innobase/dict/dict0crea.c
+13
-8
No files found.
innobase/dict/dict0crea.c
View file @
1aa56d1c
...
...
@@ -1235,16 +1235,21 @@ loop:
if
(
error
!=
DB_SUCCESS
)
{
fprintf
(
stderr
,
"InnoDB:
foreign constraint creation failed;
\n
"
"InnoDB:
Foreign key constraint creation failed:
\n
"
"InnoDB: internal error number %lu
\n
"
,
error
);
ut_a
(
error
==
DB_OUT_OF_FILE_SPACE
);
fprintf
(
stderr
,
"InnoDB: tablespace is full
\n
"
);
trx_general_rollback_for_mysql
(
trx
,
FALSE
,
NULL
);
if
(
error
==
DB_DUPLICATE_KEY
)
{
fprintf
(
stderr
,
"InnoDB: Duplicate key error in system table %s index %s
\n
"
,
((
dict_index_t
*
)
trx
->
error_info
)
->
table_name
,
((
dict_index_t
*
)
trx
->
error_info
)
->
name
);
error
=
DB_MUST_GET_MORE_FILE_SPACE
;
fprintf
(
stderr
,
"InnoDB: Maybe the internal data dictionary of InnoDB is
\n
"
"InnoDB: out-of-sync from the .frm files of your tables.
\n
"
"InnoDB: See section 15.1 Troubleshooting data dictionary operations
\n
"
"InnoDB: at http://www.innodb.com/ibman.html
\n
"
);
}
return
(
error
);
}
...
...
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