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
bfe5ff3b
Commit
bfe5ff3b
authored
Mar 08, 2001
by
heikki@donna.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
row0mysql.c Innobase does not trap now if one creates a table already in Innobase
parent
cb3dfd82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
innobase/row/row0mysql.c
innobase/row/row0mysql.c
+9
-2
No files found.
innobase/row/row0mysql.c
View file @
bfe5ff3b
...
...
@@ -818,12 +818,19 @@ row_create_table_for_mysql(
if
(
err
!=
DB_SUCCESS
)
{
/* We have special error handling here */
ut_a
(
err
==
DB_OUT_OF_FILE_SPACE
);
trx
->
error_state
=
DB_SUCCESS
;
trx_general_rollback_for_mysql
(
trx
,
FALSE
,
NULL
);
row_drop_table_for_mysql
(
table
->
name
,
trx
,
TRUE
);
if
(
err
==
DB_OUT_OF_FILE_SPACE
)
{
row_drop_table_for_mysql
(
table
->
name
,
trx
,
TRUE
);
}
else
{
assert
(
err
==
DB_DUPLICATE_KEY
);
fprintf
(
stderr
,
"Innobase: error: table %s already exists in Innobase data dictionary
\n
"
,
table
->
name
);
}
trx
->
error_state
=
DB_SUCCESS
;
}
...
...
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