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
1dead2d2
Commit
1dead2d2
authored
Oct 16, 2016
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MariaRocks port: MariaDB has no "ASYNC_COMMIT" feature
adjust a few function definitions accordingly
parent
e43ce185
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
storage/rocksdb/ha_rocksdb.cc
storage/rocksdb/ha_rocksdb.cc
+8
-2
No files found.
storage/rocksdb/ha_rocksdb.cc
View file @
1dead2d2
...
...
@@ -2543,9 +2543,15 @@ static bool rocksdb_flush_wal(handlerton* hton __attribute__((__unused__)),
For a slave, prepare() updates the slave_gtid_info table which tracks the
replication progress.
*/
static
int
rocksdb_prepare
(
handlerton
*
hton
,
THD
*
thd
,
bool
prepare_tx
,
static
int
rocksdb_prepare
(
handlerton
*
hton
,
THD
*
thd
,
bool
prepare_tx
)
#ifdef MARIAROCKS_NOT_YET
bool
async
)
// This is "ASYNC_COMMIT" feature which is only in webscalesql
// for now, define async=false below:
#endif
{
bool
async
=
false
;
Rdb_transaction
*&
tx
=
get_tx_from_thd
(
thd
);
if
(
!
tx
->
can_prepare
())
{
...
...
@@ -2693,7 +2699,7 @@ static int rocksdb_recover(handlerton* hton, XID* xid_list, uint len,
return
count
;
}
static
int
rocksdb_commit
(
handlerton
*
hton
,
THD
*
thd
,
bool
commit_tx
,
bool
)
static
int
rocksdb_commit
(
handlerton
*
hton
,
THD
*
thd
,
bool
commit_tx
)
{
DBUG_ENTER
(
"rocksdb_commit"
);
...
...
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