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
fc3df561
Commit
fc3df561
authored
Jan 23, 2018
by
Vicențiu Ciorbaru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make TokuDB run on 10.0
parent
c5f333ad
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
3 deletions
+19
-3
storage/tokudb/PerconaFT/portability/memory.cc
storage/tokudb/PerconaFT/portability/memory.cc
+7
-1
storage/tokudb/PerconaFT/tools/CMakeLists.txt
storage/tokudb/PerconaFT/tools/CMakeLists.txt
+1
-1
storage/tokudb/hatoku_defines.h
storage/tokudb/hatoku_defines.h
+8
-0
storage/tokudb/hatoku_hton.cc
storage/tokudb/hatoku_hton.cc
+1
-1
storage/tokudb/mysql-test/tokudb/disabled.def
storage/tokudb/mysql-test/tokudb/disabled.def
+1
-0
storage/tokudb/mysql-test/tokudb_parts/disabled.def
storage/tokudb/mysql-test/tokudb_parts/disabled.def
+1
-0
No files found.
storage/tokudb/PerconaFT/portability/memory.cc
View file @
fc3df561
...
...
@@ -104,7 +104,13 @@ toku_memory_startup(void) {
size_t
lg_chunk
;
// log2 of the mmap threshold
size_t
lg_chunk_length
=
sizeof
lg_chunk
;
result
=
mallctl_f
(
"opt.lg_chunk"
,
&
lg_chunk
,
&
lg_chunk_length
,
NULL
,
0
);
if
(
result
==
0
)
if
(
result
)
{
status
.
mmap_threshold
=
1
<<
21
;
// Default value.
// Incompatible jemalloc change.
result
=
0
;
}
else
status
.
mmap_threshold
=
1
<<
lg_chunk
;
}
}
...
...
storage/tokudb/PerconaFT/tools/CMakeLists.txt
View file @
fc3df561
...
...
@@ -12,7 +12,7 @@ foreach(tool ${tools})
(
CMAKE_CXX_FLAGS_DEBUG MATCHES
" -DENABLED_DEBUG_SYNC"
))
target_link_libraries
(
${
tool
}
sql
)
endif
()
target_link_libraries
(
${
tool
}
perconaserver
client
)
target_link_libraries
(
${
tool
}
mysql
client
)
endif
()
add_space_separated_property
(
TARGET
${
tool
}
COMPILE_FLAGS -fvisibility=hidden
)
...
...
storage/tokudb/hatoku_defines.h
View file @
fc3df561
...
...
@@ -167,6 +167,14 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
#define HA_CAN_WRITE_DURING_OPTIMIZE 0
#endif
#if !defined(HA_ONLINE_ANALYZE)
#define HA_ONLINE_ANALYZE 0
#endif
#if !defined(MY_ATTRIBUTE)
#define MY_ATTRIBUTE(A) __attribute__(A)
#endif
#if !defined(HA_OPTION_CREATE_FROM_ENGINE)
#define HA_OPTION_CREATE_FROM_ENGINE 0
#endif
...
...
storage/tokudb/hatoku_hton.cc
View file @
fc3df561
...
...
@@ -120,8 +120,8 @@ handlerton* tokudb_hton;
const
char
*
ha_tokudb_ext
=
".tokudb"
;
DB_ENV
*
db_env
;
#if TOKU_THDVAR_MEMALLOC_BUG
static
tokudb
::
thread
::
mutex_t
tokudb_map_mutex
;
#if TOKU_THDVAR_MEMALLOC_BUG
static
TREE
tokudb_map
;
struct
tokudb_map_pair
{
THD
*
thd
;
...
...
storage/tokudb/mysql-test/tokudb/disabled.def
View file @
fc3df561
...
...
@@ -29,3 +29,4 @@ cluster_key_part: engine options on partitioned tables
i_s_tokudb_lock_waits_released: unstable, race conditions
i_s_tokudb_locks_released: unstable, race conditions
row_format: n/a
nonflushing_analyze_debug: Freezes in MariaDB 10.0
storage/tokudb/mysql-test/tokudb_parts/disabled.def
View file @
fc3df561
...
...
@@ -7,3 +7,4 @@ partition_max_sub_parts_key_list_tokudb: 5.6 test not merged yet
partition_max_sub_parts_key_range_tokudb: 5.6 test not merged yet
partition_max_sub_parts_list_tokudb: 5.6 test not merged yet
partition_max_sub_parts_range_tokudb: 5.6 test not merged yet
nonflushing_analyze_debug: Freezes in MariaDB 10.0
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