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
4177181e
Commit
4177181e
authored
Jul 26, 2019
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'merge-tokudb-5.6' into 10.1
parents
25d216dc
24a0d7c5
Changes
54
Show whitespace changes
Inline
Side-by-side
Showing
54 changed files
with
346 additions
and
28 deletions
+346
-28
storage/tokudb/PerconaFT/ft/comparator.h
storage/tokudb/PerconaFT/ft/comparator.h
+14
-0
storage/tokudb/PerconaFT/ft/ft-ops.cc
storage/tokudb/PerconaFT/ft/ft-ops.cc
+2
-0
storage/tokudb/PerconaFT/ft/ft-status.cc
storage/tokudb/PerconaFT/ft/ft-status.cc
+14
-0
storage/tokudb/PerconaFT/ft/ft-status.h
storage/tokudb/PerconaFT/ft/ft-status.h
+14
-0
storage/tokudb/PerconaFT/locktree/keyrange.cc
storage/tokudb/PerconaFT/locktree/keyrange.cc
+1
-0
storage/tokudb/PerconaFT/locktree/keyrange.h
storage/tokudb/PerconaFT/locktree/keyrange.h
+1
-0
storage/tokudb/PerconaFT/locktree/lock_request.cc
storage/tokudb/PerconaFT/locktree/lock_request.cc
+1
-0
storage/tokudb/PerconaFT/locktree/lock_request.h
storage/tokudb/PerconaFT/locktree/lock_request.h
+1
-0
storage/tokudb/PerconaFT/locktree/locktree.cc
storage/tokudb/PerconaFT/locktree/locktree.cc
+1
-0
storage/tokudb/PerconaFT/locktree/locktree.h
storage/tokudb/PerconaFT/locktree/locktree.h
+1
-0
storage/tokudb/PerconaFT/locktree/manager.cc
storage/tokudb/PerconaFT/locktree/manager.cc
+1
-0
storage/tokudb/PerconaFT/locktree/range_buffer.cc
storage/tokudb/PerconaFT/locktree/range_buffer.cc
+1
-0
storage/tokudb/PerconaFT/locktree/range_buffer.h
storage/tokudb/PerconaFT/locktree/range_buffer.h
+1
-0
storage/tokudb/PerconaFT/locktree/treenode.cc
storage/tokudb/PerconaFT/locktree/treenode.cc
+1
-0
storage/tokudb/PerconaFT/locktree/treenode.h
storage/tokudb/PerconaFT/locktree/treenode.h
+1
-0
storage/tokudb/PerconaFT/locktree/txnid_set.cc
storage/tokudb/PerconaFT/locktree/txnid_set.cc
+1
-0
storage/tokudb/PerconaFT/locktree/txnid_set.h
storage/tokudb/PerconaFT/locktree/txnid_set.h
+1
-0
storage/tokudb/PerconaFT/locktree/wfg.cc
storage/tokudb/PerconaFT/locktree/wfg.cc
+1
-0
storage/tokudb/PerconaFT/locktree/wfg.h
storage/tokudb/PerconaFT/locktree/wfg.h
+1
-0
storage/tokudb/PerconaFT/portability/memory.cc
storage/tokudb/PerconaFT/portability/memory.cc
+23
-8
storage/tokudb/PerconaFT/portability/memory.h
storage/tokudb/PerconaFT/portability/memory.h
+14
-0
storage/tokudb/PerconaFT/portability/portability.cc
storage/tokudb/PerconaFT/portability/portability.cc
+2
-0
storage/tokudb/PerconaFT/portability/toku_atomic.h
storage/tokudb/PerconaFT/portability/toku_atomic.h
+14
-0
storage/tokudb/PerconaFT/portability/toku_instrumentation.h
storage/tokudb/PerconaFT/portability/toku_instrumentation.h
+46
-0
storage/tokudb/PerconaFT/portability/toku_portability.h
storage/tokudb/PerconaFT/portability/toku_portability.h
+14
-0
storage/tokudb/PerconaFT/portability/toku_pthread.cc
storage/tokudb/PerconaFT/portability/toku_pthread.cc
+14
-0
storage/tokudb/PerconaFT/portability/toku_pthread.h
storage/tokudb/PerconaFT/portability/toku_pthread.h
+14
-0
storage/tokudb/PerconaFT/portability/toku_race_tools.h
storage/tokudb/PerconaFT/portability/toku_race_tools.h
+14
-0
storage/tokudb/PerconaFT/portability/toku_time.cc
storage/tokudb/PerconaFT/portability/toku_time.cc
+14
-0
storage/tokudb/PerconaFT/portability/toku_time.h
storage/tokudb/PerconaFT/portability/toku_time.h
+14
-0
storage/tokudb/PerconaFT/util/dbt.h
storage/tokudb/PerconaFT/util/dbt.h
+14
-0
storage/tokudb/PerconaFT/util/growable_array.h
storage/tokudb/PerconaFT/util/growable_array.h
+1
-0
storage/tokudb/PerconaFT/util/memarena.cc
storage/tokudb/PerconaFT/util/memarena.cc
+14
-0
storage/tokudb/PerconaFT/util/memarena.h
storage/tokudb/PerconaFT/util/memarena.h
+14
-0
storage/tokudb/PerconaFT/util/omt.cc
storage/tokudb/PerconaFT/util/omt.cc
+1
-0
storage/tokudb/PerconaFT/util/omt.h
storage/tokudb/PerconaFT/util/omt.h
+1
-0
storage/tokudb/PerconaFT/util/partitioned_counter.cc
storage/tokudb/PerconaFT/util/partitioned_counter.cc
+14
-0
storage/tokudb/PerconaFT/util/partitioned_counter.h
storage/tokudb/PerconaFT/util/partitioned_counter.h
+14
-0
storage/tokudb/PerconaFT/util/status.h
storage/tokudb/PerconaFT/util/status.h
+14
-0
storage/tokudb/mysql-test/tokudb/t/change_column_Makefile
storage/tokudb/mysql-test/tokudb/t/change_column_Makefile
+5
-5
storage/tokudb/mysql-test/tokudb/t/change_column_bin.py
storage/tokudb/mysql-test/tokudb/t/change_column_bin.py
+1
-1
storage/tokudb/mysql-test/tokudb/t/change_column_bin_rename.py
...ge/tokudb/mysql-test/tokudb/t/change_column_bin_rename.py
+1
-1
storage/tokudb/mysql-test/tokudb/t/change_column_char.py
storage/tokudb/mysql-test/tokudb/t/change_column_char.py
+1
-1
storage/tokudb/mysql-test/tokudb/t/change_column_char_binary.py
...e/tokudb/mysql-test/tokudb/t/change_column_char_binary.py
+1
-1
storage/tokudb/mysql-test/tokudb/t/change_column_char_charbinary.py
...kudb/mysql-test/tokudb/t/change_column_char_charbinary.py
+1
-1
storage/tokudb/mysql-test/tokudb/t/change_column_char_rename.py
...e/tokudb/mysql-test/tokudb/t/change_column_char_rename.py
+1
-1
storage/tokudb/mysql-test/tokudb/t/change_column_int.py
storage/tokudb/mysql-test/tokudb/t/change_column_int.py
+1
-1
storage/tokudb/mysql-test/tokudb/t/change_column_int_key.py
storage/tokudb/mysql-test/tokudb/t/change_column_int_key.py
+1
-1
storage/tokudb/mysql-test/tokudb/t/change_column_int_not_supported.py
...db/mysql-test/tokudb/t/change_column_int_not_supported.py
+1
-1
storage/tokudb/mysql-test/tokudb/t/change_column_int_rename.py
...ge/tokudb/mysql-test/tokudb/t/change_column_int_rename.py
+1
-1
storage/tokudb/mysql-test/tokudb/t/fast_update_Makefile
storage/tokudb/mysql-test/tokudb/t/fast_update_Makefile
+2
-2
storage/tokudb/mysql-test/tokudb_parts/t/partition_debug_sync_tokudb-master.opt
...est/tokudb_parts/t/partition_debug_sync_tokudb-master.opt
+0
-1
storage/tokudb/mysql-test/tokudb_parts/t/partition_debug_tokudb-master.opt
...sql-test/tokudb_parts/t/partition_debug_tokudb-master.opt
+0
-1
storage/tokudb/mysql-test/tokudb_parts/t/partition_special_tokudb-master.opt
...l-test/tokudb_parts/t/partition_special_tokudb-master.opt
+0
-1
No files found.
storage/tokudb/PerconaFT/ft/comparator.h
View file @
4177181e
...
...
@@ -31,6 +31,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/ft/ft-ops.cc
View file @
4177181e
...
...
@@ -4973,6 +4973,7 @@ int toku_ft_layer_init(void) {
// Portability must be initialized first
r
=
toku_portability_init
();
assert
(
r
==
0
);
if
(
r
)
{
goto
exit
;
}
...
...
@@ -4980,6 +4981,7 @@ int toku_ft_layer_init(void) {
toku_pfs_keys_init
(
"fti"
);
r
=
db_env_set_toku_product_name
(
"tokudb"
);
assert
(
r
==
0
);
if
(
r
)
{
goto
exit
;
}
...
...
storage/tokudb/PerconaFT/ft/ft-status.cc
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/ft/ft-status.h
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/keyrange.cc
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/keyrange.h
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/lock_request.cc
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/lock_request.h
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/locktree.cc
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/locktree.h
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/manager.cc
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/range_buffer.cc
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/range_buffer.h
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/treenode.cc
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/treenode.h
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/txnid_set.cc
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/txnid_set.h
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/wfg.cc
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/locktree/wfg.h
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/portability/memory.cc
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
@@ -65,7 +79,7 @@ static realloc_fun_t t_xrealloc = 0;
static
LOCAL_MEMORY_STATUS_S
status
;
int
toku_memory_do_stats
=
0
;
static
bool
memory_startup_complete
;
static
bool
memory_startup_complete
=
false
;
int
toku_memory_startup
(
void
)
{
...
...
@@ -83,8 +97,10 @@ toku_memory_startup(void) {
if
(
success
)
{
status
.
mallocator_version
=
"libc"
;
status
.
mmap_threshold
=
mmap_threshold
;
}
else
}
else
{
result
=
EINVAL
;
}
assert
(
result
==
0
);
#else
// just a guess
status
.
mallocator_version
=
"darwin"
;
...
...
@@ -100,18 +116,17 @@ toku_memory_startup(void) {
if
(
mallctl_f
)
{
// jemalloc is loaded
size_t
version_length
=
sizeof
status
.
mallocator_version
;
result
=
mallctl_f
(
"version"
,
&
status
.
mallocator_version
,
&
version_length
,
NULL
,
0
);
assert
(
result
==
0
);
if
(
result
==
0
)
{
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
)
{
status
.
mmap_threshold
=
1
<<
21
;
// Default value.
// Incompatible jemalloc change.
if
(
result
==
0
)
{
status
.
mmap_threshold
=
1
<<
lg_chunk
;
}
else
{
status
.
mmap_threshold
=
1
<<
22
;
result
=
0
;
}
else
status
.
mmap_threshold
=
1
<<
lg_chunk
;
}
}
...
...
storage/tokudb/PerconaFT/portability/memory.h
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/portability/portability.cc
View file @
4177181e
...
...
@@ -88,9 +88,11 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
int
toku_portability_init
(
void
)
{
int
r
=
toku_memory_startup
();
assert
(
r
==
0
);
if
(
r
==
0
)
{
uint64_t
hz
;
r
=
toku_os_get_processor_frequency
(
&
hz
);
// get and cache freq
assert
(
r
==
0
);
}
(
void
)
toku_os_get_pagesize
();
// get and cache pagesize
return
r
;
...
...
storage/tokudb/PerconaFT/portability/toku_atomic.h
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/portability/toku_instrumentation.h
View file @
4177181e
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2,
as published by the Free Software Foundation.
PerconaFT is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
PerconaFT is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License, version 3,
as published by the Free Software Foundation.
PerconaFT is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#pragma once
#include <stdio.h> // FILE
...
...
storage/tokudb/PerconaFT/portability/toku_portability.h
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/portability/toku_pthread.cc
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/portability/toku_pthread.h
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/portability/toku_race_tools.h
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/portability/toku_time.cc
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/portability/toku_time.h
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/util/dbt.h
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/util/growable_array.h
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/util/memarena.cc
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/util/memarena.h
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/util/omt.cc
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident \
...
...
storage/tokudb/PerconaFT/util/omt.h
View file @
4177181e
...
...
@@ -45,6 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/util/partitioned_counter.cc
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/util/partitioned_counter.h
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/PerconaFT/util/status.h
View file @
4177181e
...
...
@@ -32,6 +32,20 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
You should have received a copy of the GNU Affero General Public License
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>.
----------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
======= */
#ident "Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved."
...
...
storage/tokudb/mysql-test/tokudb/t/change_column_Makefile
View file @
4177181e
# generate tests from test generator python programs
# generate tests from test generator python
2
programs
S = $(wildcard *.py)
T = $(patsubst %.py,%.test,$(S))
...
...
@@ -6,14 +6,14 @@ T = $(patsubst %.py,%.test,$(S))
default: $(T)
%.test: %.py
python $< >$@
python
2
$< >$@
change_all.test: change_all.py change_all_1000_10.test change_all_1000_1.test change_all_10000_1.test
true
change_all_1000_10.test: change_all.py
python change_all.py --experiments=1000 --nrows=10 >change_all_1000_10.test
python
2
change_all.py --experiments=1000 --nrows=10 >change_all_1000_10.test
change_all_1000_1.test: change_all.py
python change_all.py --experiments=1000 --nrows=1 >change_all_1000_1.test
python
2
change_all.py --experiments=1000 --nrows=1 >change_all_1000_1.test
change_all_10000_1.test: change_all.py
python change_all.py --experiments=10000 --nrows=1 >change_all_10000_1.test
python
2
change_all.py --experiments=10000 --nrows=1 >change_all_10000_1.test
storage/tokudb/mysql-test/tokudb/t/change_column_bin.py
View file @
4177181e
#!/usr/bin/env python
#!/usr/bin/env python
2
import
sys
def
gen_test
(
n
):
...
...
storage/tokudb/mysql-test/tokudb/t/change_column_bin_rename.py
View file @
4177181e
#!/usr/bin/env python
#!/usr/bin/env python
2
import
sys
def
gen_test
(
n
):
...
...
storage/tokudb/mysql-test/tokudb/t/change_column_char.py
View file @
4177181e
#!/usr/bin/env python
#!/usr/bin/env python
2
import
sys
def
gen_test
(
n
):
...
...
storage/tokudb/mysql-test/tokudb/t/change_column_char_binary.py
View file @
4177181e
#!/usr/bin/env python
#!/usr/bin/env python
2
import
sys
def
gen_test
(
n
):
...
...
storage/tokudb/mysql-test/tokudb/t/change_column_char_charbinary.py
View file @
4177181e
#!/usr/bin/env python
#!/usr/bin/env python
2
import
sys
def
gen_test
(
n
):
...
...
storage/tokudb/mysql-test/tokudb/t/change_column_char_rename.py
View file @
4177181e
#!/usr/bin/env python
#!/usr/bin/env python
2
import
sys
def
gen_test
(
n
):
...
...
storage/tokudb/mysql-test/tokudb/t/change_column_int.py
View file @
4177181e
#!/usr/bin/env python
#!/usr/bin/env python
2
import
sys
def
gen_test
(
types
,
values
):
...
...
storage/tokudb/mysql-test/tokudb/t/change_column_int_key.py
View file @
4177181e
#!/usr/bin/env python
#!/usr/bin/env python
2
import
sys
def
gen_test
(
types
):
...
...
storage/tokudb/mysql-test/tokudb/t/change_column_int_not_supported.py
View file @
4177181e
#!/usr/bin/env python
#!/usr/bin/env python
2
import
sys
def
supported
(
from_int
,
from_modifier
,
to_int
,
to_modifer
):
if
from_modifier
!=
to_modifer
:
...
...
storage/tokudb/mysql-test/tokudb/t/change_column_int_rename.py
View file @
4177181e
#!/usr/bin/env python
#!/usr/bin/env python
2
import
sys
def
gen_test
(
types
,
values
):
...
...
storage/tokudb/mysql-test/tokudb/t/fast_update_Makefile
View file @
4177181e
# generate tests from test generator python programs
# generate tests from test generator python
2
programs
S = $(wildcard *.py)
T = $(patsubst %.py,%.test,$(S))
...
...
@@ -6,5 +6,5 @@ T = $(patsubst %.py,%.test,$(S))
default: $(T)
%.test: %.py
python $< >$@
python
2
$< >$@
storage/tokudb/mysql-test/tokudb_parts/t/partition_debug_sync_tokudb-master.opt
deleted
100644 → 0
View file @
25d216dc
--innodb_file_per_table=1
storage/tokudb/mysql-test/tokudb_parts/t/partition_debug_tokudb-master.opt
deleted
100644 → 0
View file @
25d216dc
--innodb-file-format-check --innodb-file-per-table=1
storage/tokudb/mysql-test/tokudb_parts/t/partition_special_tokudb-master.opt
deleted
100644 → 0
View file @
25d216dc
--innodb_lock_wait_timeout=2 --innodb-file-per-table=1
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