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
555b1b9f
Commit
555b1b9f
authored
Jan 24, 2017
by
Vicențiu Ciorbaru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make rocksdb dynamic plugin
parent
15d101ca
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
11 deletions
+24
-11
storage/rocksdb/CMakeLists.txt
storage/rocksdb/CMakeLists.txt
+1
-1
storage/rocksdb/mysql-test/rocksdb/include/have_rocksdb.inc
storage/rocksdb/mysql-test/rocksdb/include/have_rocksdb.inc
+10
-0
storage/rocksdb/mysql-test/rocksdb/include/have_rocksdb.opt
storage/rocksdb/mysql-test/rocksdb/include/have_rocksdb.opt
+0
-0
storage/rocksdb/mysql-test/rocksdb/include/have_rocksdb_default.inc
...cksdb/mysql-test/rocksdb/include/have_rocksdb_default.inc
+10
-0
storage/rocksdb/mysql-test/rocksdb/include/have_rocksdb_replication.inc
...b/mysql-test/rocksdb/include/have_rocksdb_replication.inc
+0
-6
storage/rocksdb/mysql-test/rocksdb/my.cnf
storage/rocksdb/mysql-test/rocksdb/my.cnf
+2
-3
storage/rocksdb/mysql-test/rocksdb/suite.opt
storage/rocksdb/mysql-test/rocksdb/suite.opt
+1
-1
No files found.
storage/rocksdb/CMakeLists.txt
View file @
555b1b9f
...
...
@@ -113,7 +113,7 @@ ENDIF()
SET
(
rocksdb_static_libs ROCKSDB_AUX_LIB
${
rocksdb_static_libs
}
${
ZLIB_LIBRARY
}
"-lrt"
)
MYSQL_ADD_PLUGIN
(
rocksdb_se
${
ROCKSDB_SOURCES
}
STORAGE_ENGINE DEFAULT
STATIC
_ONLY
MYSQL_ADD_PLUGIN
(
rocksdb_se
${
ROCKSDB_SOURCES
}
STORAGE_ENGINE DEFAULT
MODULE
_ONLY
LINK_LIBRARIES
${
rocksdb_static_libs
}
)
...
...
storage/rocksdb/mysql-test/rocksdb/include/have_rocksdb.inc
0 → 100644
View file @
555b1b9f
if
(
`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'rocksdb' AND support IN ('YES', 'DEFAULT', 'ENABLED')`
)
{
--
skip
Test
requires
engine
RocksDB
.
}
--
disable_query_log
# Table statistics can vary depending on when the memtables are flushed, so
# flush them at the beginning of the test to ensure the test runs consistently.
set
global
rocksdb_force_flush_memtable_now
=
true
;
--
enable_query_log
mysql-test
/include/have_rocksdb.opt
→
storage/rocksdb/mysql-test/rocksdb
/include/have_rocksdb.opt
View file @
555b1b9f
File moved
storage/rocksdb/mysql-test/rocksdb/include/have_rocksdb_default.inc
0 → 100644
View file @
555b1b9f
if
(
`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'rocksdb'`
AND
support
in
(
'DEFAULT'
)
`
)
{
--
skip
Test
requires
engine
RocksDB
as
default
.
}
--
disable_query_log
# Table statistics can vary depending on when the memtables are flushed, so
# flush them at the beginning of the test to ensure the test runs consistently.
set
global
rocksdb_force_flush_memtable_now
=
true
;
--
enable_query_log
mysql-test/include/have_rocksdb
.inc
→
storage/rocksdb/mysql-test/rocksdb/include/have_rocksdb_replication
.inc
View file @
555b1b9f
if
(
`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'rocksdb' AND support IN ('DEFAULT')`
)
{
--
skip
Test
requires
default
engine
RocksDB
}
# MARIAROCKS_NOT_YET: replication doesn't work yet:
#if (`select count(*) = 0 from information_schema.tables where engine='rocksdb' and table_name='slave_gtid_info'`)
#{
...
...
@@ -14,4 +9,3 @@ if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'rocksdb
# flush them at the beginning of the test to ensure the test runs consistently.
set
global
rocksdb_force_flush_memtable_now
=
true
;
--
enable_query_log
storage/rocksdb/mysql-test/rocksdb/my.cnf
View file @
555b1b9f
!include include/default_my.cnf
[server]
rocksdb
skip-innodb
default-storage-engine=rocksdb
sql-mode=NO_ENGINE_SUBSTITUTION
explicit-defaults-for-timestamp=1
rocksdb_lock_wait_timeout=1
rocksdb_strict_collation_check=0
#
rocksdb_lock_wait_timeout=1
#
rocksdb_strict_collation_check=0
storage/rocksdb/mysql-test/rocksdb/suite.opt
View file @
555b1b9f
--ignore-db-dirs=.rocksdb
--ignore-db-dirs=.rocksdb
--plugin-load=ha_rocksdb_se
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