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
7beaa5e3
Commit
7beaa5e3
authored
Feb 09, 2018
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bb-10.2-mariarocks' into 10.2
parents
7c1bd8fa
cca9b3a9
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
695 additions
and
2 deletions
+695
-2
debian/autobake-deb.sh
debian/autobake-deb.sh
+5
-2
debian/control
debian/control
+1
-0
debian/mariadb-plugin-rocksdb.install
debian/mariadb-plugin-rocksdb.install
+1
-0
storage/rocksdb/CMakeLists.txt
storage/rocksdb/CMakeLists.txt
+2
-0
storage/rocksdb/myrocks_hotbackup
storage/rocksdb/myrocks_hotbackup
+686
-0
No files found.
debian/autobake-deb.sh
View file @
7beaa5e3
...
...
@@ -74,12 +74,15 @@ fi
# Convert gcc version to numberical value. Format is Mmmpp where M is Major
# version, mm is minor version and p is patch.
GCCVERSION
=
$(
gcc
-dumpversion
|
sed
-e
's/\.\([0-9][0-9]\)/\1/g'
-e
's/\.\([0-9]\)/0\1/g'
-e
's/^[0-9]\{3,4\}$/&00/'
)
# -dumpfullversion & -dumpversion to make it uniform across old and new (>=7)
GCCVERSION
=
$(
gcc
-dumpfullversion
-dumpversion
|
sed
-e
's/\.\([0-9][0-9]\)/\1/g'
\
-e
's/\.\([0-9]\)/0\1/g'
\
-e
's/^[0-9]\{3,4\}$/&00/'
)
# Don't build rocksdb package if gcc version is less than 4.8 or we are running on
# x86 32 bit.
if
[[
$GCCVERSION
-lt
40800
]]
||
[[
$(
arch
)
=
~ i[346]86
]]
then
sed
'/Package: mariadb-plugin-rocksdb/,+
9
d'
-i
debian/control
sed
'/Package: mariadb-plugin-rocksdb/,+
10
d'
-i
debian/control
fi
if
[[
$GCCVERSION
-lt
40800
]]
then
...
...
debian/control
View file @
7beaa5e3
...
...
@@ -455,6 +455,7 @@ Architecture: any
Depends
:
mariadb
-
server
-
10.2
(=
${
binary
:
Version
}),
${
misc
:
Depends
},
${
shlibs
:
Depends
}
Recommends
:
python
-
mysqldb
Description
:
RocksDB
storage
engine
for
MariaDB
The
RocksDB
storage
engine
is
a
high
performance
storage
engine
,
aimed
at
maximising
storage
efficiency
while
maintaining
InnoDB
-
like
performance
.
...
...
debian/mariadb-plugin-rocksdb.install
View file @
7beaa5e3
etc
/
mysql
/
conf
.
d
/
rocksdb
.
cnf
etc
/
mysql
/
mariadb
.
conf
.
d
usr
/
lib
/
mysql
/
plugin
/
ha_rocksdb
.
so
usr
/
bin
/
mysql_ldb
usr
/
bin
/
myrocks_hotbackup
usr
/
bin
/
sst_dump
storage/rocksdb/CMakeLists.txt
View file @
7beaa5e3
...
...
@@ -208,6 +208,8 @@ TARGET_LINK_LIBRARIES(sst_dump rocksdblib)
MYSQL_ADD_EXECUTABLE
(
mysql_ldb tools/mysql_ldb.cc COMPONENT rocksdb-engine
)
TARGET_LINK_LIBRARIES
(
mysql_ldb rocksdb_tools rocksdb_aux_lib
)
INSTALL_SCRIPT
(
myrocks_hotbackup COMPONENT rocksdb-engine
)
IF
(
CMAKE_CXX_COMPILER_ID MATCHES
"GNU"
OR CMAKE_CXX_COMPILER_ID MATCHES
"Clang"
)
SET_TARGET_PROPERTIES
(
rocksdb_tools sst_dump mysql_ldb PROPERTIES COMPILE_FLAGS -frtti
)
ENDIF
()
...
...
storage/rocksdb/myrocks_hotbackup
0 → 100755
View file @
7beaa5e3
This diff is collapsed.
Click to expand it.
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