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
4e24b318
Commit
4e24b318
authored
Nov 10, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-19951 followup: Remove unused st_handler_tablename, tablename_compare
parent
f5d2d455
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
24 deletions
+1
-24
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+0
-18
storage/innobase/handler/ha_innodb.h
storage/innobase/handler/ha_innodb.h
+1
-6
No files found.
storage/innobase/handler/ha_innodb.cc
View file @
4e24b318
...
...
@@ -15189,24 +15189,6 @@ struct table_list_item {
const
char
*
name
;
};
/** Structure to compare two st_tablename objects using their
db and tablename. It is used in the ordering of cascade_fk_set.
It returns true if the first argument precedes the second argument
and false otherwise. */
struct
tablename_compare
{
bool
operator
()(
const
st_handler_tablename
lhs
,
const
st_handler_tablename
rhs
)
const
{
int
cmp
=
strcmp
(
lhs
.
db
,
rhs
.
db
);
if
(
cmp
==
0
)
{
cmp
=
strcmp
(
lhs
.
tablename
,
rhs
.
tablename
);
}
return
(
cmp
<
0
);
}
};
/*****************************************************************//**
Checks if ALTER TABLE may change the storage engine of the table.
Changing storage engines is not allowed for tables for which there
...
...
storage/innobase/handler/ha_innodb.h
View file @
4e24b318
...
...
@@ -51,12 +51,7 @@ struct ha_table_option_struct
uint
encryption
;
/*!< DEFAULT, ON, OFF */
ulonglong
encryption_key_id
;
/*!< encryption key id */
};
/* JAN: TODO: MySQL 5.7 handler.h */
struct
st_handler_tablename
{
const
char
*
db
;
const
char
*
tablename
;
};
/** The class defining a handle to an Innodb table */
class
ha_innobase
final
:
public
handler
{
...
...
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