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
13e4bf67
Commit
13e4bf67
authored
Aug 02, 2017
by
Vicențiu Ciorbaru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tokudb compilation post merge
parent
40e213f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
storage/tokudb/PerconaFT/portability/toku_debug_sync.h
storage/tokudb/PerconaFT/portability/toku_debug_sync.h
+1
-1
storage/tokudb/PerconaFT/tools/CMakeLists.txt
storage/tokudb/PerconaFT/tools/CMakeLists.txt
+1
-1
storage/tokudb/hatoku_hton.cc
storage/tokudb/hatoku_hton.cc
+4
-3
No files found.
storage/tokudb/PerconaFT/portability/toku_debug_sync.h
View file @
13e4bf67
...
...
@@ -67,7 +67,7 @@ inline void toku_debug_sync(struct tokutxn *txn, const char *sync_point_name) {
toku_txn_get_client_id
(
txn
,
&
client_id
,
&
client_extra
);
thd
=
reinterpret_cast
<
THD
*>
(
client_extra
);
debug_sync
(
thd
,
sync_point_name
,
strlen
(
sync_point_name
)
);
DEBUG_SYNC
(
thd
,
sync_point_name
);
}
#else // defined(ENABLED_DEBUG_SYNC)
...
...
storage/tokudb/PerconaFT/tools/CMakeLists.txt
View file @
13e4bf67
...
...
@@ -10,7 +10,7 @@ foreach(tool ${tools})
if
(
DEFINED MYSQL_PROJECT_NAME_DOCSTRING
)
if
((
CMAKE_BUILD_TYPE MATCHES
"Debug"
)
AND
(
CMAKE_CXX_FLAGS_DEBUG MATCHES
" -DENABLED_DEBUG_SYNC"
))
target_link_libraries
(
${
tool
}
sql
binlog rpl master slave
)
target_link_libraries
(
${
tool
}
sql
)
endif
()
endif
()
...
...
storage/tokudb/hatoku_hton.cc
View file @
13e4bf67
...
...
@@ -55,7 +55,7 @@ static bool tokudb_show_status(
static
void
tokudb_handle_fatal_signal
(
handlerton
*
hton
,
THD
*
thd
,
int
sig
);
#endif
static
int
tokudb_close_connection
(
handlerton
*
hton
,
THD
*
thd
);
static
void
tokudb_kill_connection
(
handlerton
*
hton
,
THD
*
thd
);
static
void
tokudb_kill_connection
(
handlerton
*
hton
,
THD
*
thd
,
enum
thd_kill_levels
level
);
static
int
tokudb_commit
(
handlerton
*
hton
,
THD
*
thd
,
bool
all
);
static
int
tokudb_rollback
(
handlerton
*
hton
,
THD
*
thd
,
bool
all
);
#if TOKU_INCLUDE_XA
...
...
@@ -332,7 +332,7 @@ static int tokudb_init_func(void *p) {
tokudb_hton
->
create
=
tokudb_create_handler
;
tokudb_hton
->
close_connection
=
tokudb_close_connection
;
tokudb_hton
->
kill_
connection
=
tokudb_kill_connection
;
tokudb_hton
->
kill_
query
=
tokudb_kill_connection
;
tokudb_hton
->
savepoint_offset
=
sizeof
(
SP_INFO_T
);
tokudb_hton
->
savepoint_set
=
tokudb_savepoint
;
...
...
@@ -756,7 +756,8 @@ static int tokudb_close_connection(handlerton* hton, THD* thd) {
return
error
;
}
void
tokudb_kill_connection
(
handlerton
*
hton
,
THD
*
thd
)
{
void
tokudb_kill_connection
(
handlerton
*
hton
,
THD
*
thd
,
enum
thd_kill_levels
level
)
{
TOKUDB_DBUG_ENTER
(
""
);
db_env
->
kill_waiter
(
db_env
,
thd
);
DBUG_VOID_RETURN
;
...
...
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