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
94753d8b
Commit
94753d8b
authored
Apr 07, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small cleanup - remove prehistoric DB_TYPE_xxx values
parent
0d405ed0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
26 deletions
+17
-26
sql/handler.cc
sql/handler.cc
+0
-7
sql/handler.h
sql/handler.h
+17
-19
No files found.
sql/handler.cc
View file @
94753d8b
...
...
@@ -232,13 +232,6 @@ handlerton *ha_checktype(THD *thd, enum legacy_db_type database_type,
RUN_HOOK
(
transaction
,
after_rollback
,
(
thd
,
FALSE
));
switch
(
database_type
)
{
case
DB_TYPE_MRG_ISAM
:
return
ha_resolve_by_legacy_type
(
thd
,
DB_TYPE_MRG_MYISAM
);
default:
break
;
}
return
ha_default_handlerton
(
thd
);
}
/* ha_checktype */
...
...
sql/handler.h
View file @
94753d8b
...
...
@@ -336,25 +336,23 @@
enum
legacy_db_type
{
DB_TYPE_UNKNOWN
=
0
,
DB_TYPE_DIAB_ISAM
=
1
,
DB_TYPE_HASH
,
DB_TYPE_MISAM
,
DB_TYPE_PISAM
,
DB_TYPE_RMS_ISAM
,
DB_TYPE_HEAP
,
DB_TYPE_ISAM
,
DB_TYPE_MRG_ISAM
,
DB_TYPE_MYISAM
,
DB_TYPE_MRG_MYISAM
,
DB_TYPE_BERKELEY_DB
,
DB_TYPE_INNODB
,
DB_TYPE_GEMINI
,
DB_TYPE_NDBCLUSTER
,
DB_TYPE_EXAMPLE_DB
,
DB_TYPE_ARCHIVE_DB
,
DB_TYPE_CSV_DB
,
DB_TYPE_FEDERATED_DB
,
DB_TYPE_BLACKHOLE_DB
,
DB_TYPE_PARTITION_DB
,
DB_TYPE_BINLOG
,
DB_TYPE_SOLID
,
DB_TYPE_PBXT
,
DB_TYPE_TABLE_FUNCTION
,
DB_TYPE_MEMCACHE
,
DB_TYPE_FALCON
,
DB_TYPE_MARIA
,
/** Performance schema engine. */
DB_TYPE_PERFORMANCE_SCHEMA
,
/* note these numerical values are fixed and can *not* be changed */
DB_TYPE_UNKNOWN
=
0
,
DB_TYPE_HEAP
=
6
,
DB_TYPE_MYISAM
=
9
,
DB_TYPE_MRG_MYISAM
=
10
,
DB_TYPE_INNODB
=
12
,
DB_TYPE_NDBCLUSTER
=
14
,
DB_TYPE_EXAMPLE_DB
=
15
,
DB_TYPE_ARCHIVE_DB
=
16
,
DB_TYPE_CSV_DB
=
17
,
DB_TYPE_FEDERATED_DB
=
18
,
DB_TYPE_BLACKHOLE_DB
=
19
,
DB_TYPE_PARTITION_DB
=
20
,
DB_TYPE_BINLOG
=
21
,
DB_TYPE_PBXT
=
23
,
DB_TYPE_MARIA
=
27
,
DB_TYPE_PERFORMANCE_SCHEMA
=
28
,
DB_TYPE_FIRST_DYNAMIC
=
42
,
DB_TYPE_DEFAULT
=
127
// Must be last
};
...
...
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