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
d5b0c11d
Commit
d5b0c11d
authored
Nov 23, 2020
by
Aleksey Midenkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup
parent
114933d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
36 deletions
+0
-36
sql/sql_alter.h
sql/sql_alter.h
+0
-36
No files found.
sql/sql_alter.h
View file @
d5b0c11d
...
...
@@ -57,42 +57,6 @@ class FK_table_backup : public FK_backup
};
class
FK_ddl_backup2
:
public
FK_backup
{
public:
TABLE_SHARE
*
share
;
FK_ddl_backup2
()
:
share
(
NULL
)
{}
virtual
~
FK_ddl_backup2
()
{
if
(
share
)
rollback
();
}
FK_ddl_backup2
(
Share_acquire
&&
_sa
)
{
}
bool
init
(
TABLE_SHARE
*
)
{
return
true
;
}
void
commit
()
{
share
=
NULL
;
}
void
rollback
()
{
DBUG_ASSERT
(
share
);
share
->
foreign_keys
=
foreign_keys
;
share
->
referenced_keys
=
referenced_keys
;
share
=
NULL
;
}
TABLE_SHARE
*
get_share
()
const
{
return
share
;
}
};
/* DROP FK does not fail for non-existent ref (but other commands do) */
struct
FK_table_to_lock
{
...
...
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