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
11e4b8b8
Commit
11e4b8b8
authored
Dec 02, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tokutek/mysql#10 use DB_TYPE_TOKUDB in mysql 5.5
parent
affe5ac6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
storage/tokudb/hatoku_defines.h
storage/tokudb/hatoku_defines.h
+1
-1
storage/tokudb/hatoku_hton.cc
storage/tokudb/hatoku_hton.cc
+0
-4
No files found.
storage/tokudb/hatoku_defines.h
View file @
11e4b8b8
...
@@ -166,7 +166,7 @@ PATENT RIGHTS GRANT:
...
@@ -166,7 +166,7 @@ PATENT RIGHTS GRANT:
#elif 50500 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50599
#elif 50500 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50599
// mysql 5.5 and mariadb 5.5
// mysql 5.5 and mariadb 5.5
#define TOKU_USE_
OTHER_DB_TYPE
1
#define TOKU_USE_
DB_TYPE_TOKUDB
1
#define TOKU_INCLUDE_ALTER_56 1
#define TOKU_INCLUDE_ALTER_56 1
#define TOKU_INCLUDE_ALTER_55 1
#define TOKU_INCLUDE_ALTER_55 1
#define TOKU_INCLUDE_ROW_TYPE_COMPRESSION 1
#define TOKU_INCLUDE_ROW_TYPE_COMPRESSION 1
...
...
storage/tokudb/hatoku_hton.cc
View file @
11e4b8b8
...
@@ -335,10 +335,6 @@ static int tokudb_init_func(void *p) {
...
@@ -335,10 +335,6 @@ static int tokudb_init_func(void *p) {
tokudb_hton
->
db_type
=
DB_TYPE_TOKUDB
;
tokudb_hton
->
db_type
=
DB_TYPE_TOKUDB
;
#elif defined(TOKU_USE_DB_TYPE_UNKNOWN) && TOKU_USE_DB_TYPE_UNKNOWN
#elif defined(TOKU_USE_DB_TYPE_UNKNOWN) && TOKU_USE_DB_TYPE_UNKNOWN
tokudb_hton
->
db_type
=
DB_TYPE_UNKNOWN
;
tokudb_hton
->
db_type
=
DB_TYPE_UNKNOWN
;
#elif defined(TOKU_USE_OTHER_DB_TYPE) && TOKU_USE_OTHER_DB_TYPE
// extended keys is triggered off of the db_type, so tokudb adds another type so that extended keys works
tokudb_hton
->
db_type
=
DB_TYPE_UNKNOWN
;
tokudb_hton
->
other_db_type
=
DB_TYPE_TOKUDB
;
#else
#else
#error
#error
#endif
#endif
...
...
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