Commit graph

1092 commits

Author SHA1 Message Date
Sergei Golubchik
5b2e3b01f0 fixes for buildbot
* disable jemalloc on windows (cannot run ./configure)
* disable jemalloc on ancient cmake (ExternalProject does not work)
* rewrite TokuDB compiler test to check for features, not versions (to work on cmake before 2.8.11)
* fix ft-index to not add VALGRIND_INCLUDE_DIR to includes, if no valgrind was found
* correct the package name in FindValgrind.cmake (for find_package(... REQUIRED) to work)
* disable ft-index tests by default (faster compilation and they aren't used anyway)
* don't build ft-index with valgrind by default (otherwise it *requires* valgrind, it doesn't auto-detect)
* use --loose-tokudb in the .opt file
2013-09-09 14:02:42 +02:00
Sergei Golubchik
3a52826183 remove symlinks from the tree
(otherwise one cannot even pull on windows)
2013-09-09 14:00:48 +02:00
Sergei Golubchik
c03f0cf28c fixes for out-of-source builds
mysql-test/CMakeLists.txt:
  don't generate collection fules. we don't use them
  and they break out-of-source builds
2013-09-09 14:00:40 +02:00
Sergei Golubchik
642aa4366d clustering == covering
tell the optimizer that every TokuDB "clustering" index is the "covering" index
in the MariaDB optimizer sense.
2013-09-09 14:00:06 +02:00
Sergei Golubchik
9a3b9a5416 tokudb test suites 2013-09-09 13:59:38 +02:00
Sergei Golubchik
d29f874db1 Mark tokudb plugin as "Alpha" in MariaDB.
While it is stable on itself, the MariaDB integration
within 5.5 series is rather new.
2013-09-09 13:58:27 +02:00
Sergei Golubchik
043099a6e8 chmod a-x *.test *.result 2013-09-09 13:58:05 +02:00
Sergei Golubchik
00686e6d0e cmake fixes for tokudb
cmake/jemalloc.cmake:
  for dependencies to work, LIBJEMALLOC should be the target name, not the path
storage/tokudb/CMakeLists.txt:
  * check the preconditions
  * disable bdb tests (compilation errors)
  * set variable, instead of SET_PROPERTY. same effect,
    but doesn't fail when a plugin is disabled (that is, a target does not exist)
storage/tokudb/ft-index/CMakeLists.txt:
  cmake should not look into examples/ directory,
  there is hand-crafted examples/Makefile that
  cmake will overwrite
storage/tokudb/ft-index/buildheader/CMakeLists.txt:
  the syntax is ADD_EXECUTABLE(target source) and "source" is the file name
storage/tokudb/ft-index/cmake_modules/TokuMergeLibs.cmake:
  Libraries must be specified in the specific order,
  REMOVE_DUPLICATES cannot be used, because it destroys this order.
  
  (when OSLIBS contains "-lpthread -ljemalloc -lpthread", REMOVE_DUPLICATES
  makes it "-lpthread -ljemalloc". But a thread library *must* be *after* jemalloc)
storage/tokudb/ft-index/cmake_modules/TokuSetupCTest.cmake:
  * 'which' might print errors to stderr, they are not important, shut them up
  * we don't have TOKUDB_DATA, no need to warn about it
  * don't configure_file into itself (with input=output)
storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake:
  jemalloc is built externally to tokudb/ft-index
storage/tokudb/ft-index/ft/CMakeLists.txt:
  the syntax is ADD_EXECUTABLE(target source) and "source" is the file name
storage/tokudb/ft-index/ft/tests/CMakeLists.txt:
  the syntax is ADD_EXECUTABLE(target source) and "source" is the file name
storage/tokudb/ft-index/locktree/tests/CMakeLists.txt:
  the syntax is ADD_EXECUTABLE(target source) and "source" is the file name
storage/tokudb/ft-index/portability/CMakeLists.txt:
  s/jemalloc/libjemalloc/
storage/tokudb/ft-index/portability/os_malloc.cc:
  unnecessary include file
storage/tokudb/ft-index/portability/tests/CMakeLists.txt:
  the syntax is ADD_EXECUTABLE(target source) and "source" is the file name
storage/tokudb/ft-index/src/tests/CMakeLists.txt:
  the syntax is ADD_EXECUTABLE(target source) and "source" is the file name
storage/tokudb/ft-index/util/tests/CMakeLists.txt:
  the syntax is ADD_EXECUTABLE(target source) and "source" is the file name
storage/tokudb/ft-index/utils/CMakeLists.txt:
  the syntax is ADD_EXECUTABLE(target source) and "source" is the file name
2013-09-09 13:57:22 +02:00
Sergei Golubchik
9fdac1ae90 tokudb: temporary 5.5-only hack to let the frm-only ALTER TABLE to work 2013-09-09 13:35:09 +02:00
Sergei Golubchik
bac94d097e tokudb: COMPRESSION = { DEFAULT | TOKUDB_UNCOMPRESSED |
TOKUDB_ZLIB | TOKUDB_QUICKLZ |
                TOKUDB_LZMA | TOKUDB_FAST |
                TOKUDB_SMALL }
syntax for tables
2013-09-09 13:35:00 +02:00
Sergei Golubchik
86bc6b6ae8 tokudb: CLUSTERING=YES syntax for indexes 2013-09-09 13:34:50 +02:00
Sergei Golubchik
f2b5f1fdc6 tokudb: auto-increment not on the first keypart 2013-09-09 13:34:38 +02:00
Sergei Golubchik
36a22c1447 tokudb: extended keys support 2013-09-09 13:34:28 +02:00
Sergei Golubchik
c8a5da9676 tokudb: configure features, available in mariadb 5.5 2013-09-09 13:34:06 +02:00
Sergei Golubchik
905c9815f7 merge with git://github.com/Tokutek/ft-index.git up to tokudb-7.0.4 2013-09-09 11:32:39 +02:00
Sergei Golubchik
9b933e3be9 merge with git://github.com/Tokutek/ft-engine.git up to tokudb-7.0.4 2013-09-09 11:12:52 +02:00
Rich Prohaska
d58b0523c8 #57 error our unpack_blobs if the blobs input buffer can not be parsed 2013-07-30 11:15:40 -04:00
zkasheff
ac2c1a4a31 Merge branch 'bugs/61' 2013-07-29 11:13:04 -04:00
zkasheff
9be800a47d refs #61, make blob expansion a non-hot operation 2013-07-29 11:11:47 -04:00
Yoni Fogel
73ce418e2d Merge branch '6712' 2013-07-17 15:18:12 -07:00
Yoni Fogel
4780c8bbf7 Refs Tokutek/ft-engine#40 Rename c_restrict_to_range to c_set_bounds, delete c_pre_acquire_range_lock 2013-07-17 15:16:11 -07:00
Yoni Fogel
85a164fb09 Refs Tokutek/ft-engine/#40 Use c_restrict_to_range function to force cursor to keep track of prelocked range 2013-07-17 15:16:11 -07:00
Yoni Fogel
4279e16c5a Refs Tokutek/ft-index#28 attach gdb to the running process and extract information on fatal signal. 2013-07-05 14:11:31 -07:00
Zardosht Kasheff
e69e0cff9a refs #42, exit gracefully from ha_tokudb::create if we notice a field that is invalid 2013-06-24 15:07:20 -04:00
Rich Prohaska
d081cd6732 strip carriage returns 2013-05-29 13:35:50 -04:00
Rich Prohaska
1200ca6dad svn #6706 add GPL headers to the tokudb handlerton 2013-05-28 08:33:07 -04:00
Rich Prohaska
d3f4822885 remove overactive assert in ha_tokudb::external_lock 2013-05-24 11:23:52 -04:00
Rich Prohaska
1b737dfda0 support upsert x=x+values(x) expressions 2013-05-24 11:01:40 -04:00
Rich Prohaska
ef67626331 #20 cleanup some static analysis issues 2013-05-24 10:59:07 -04:00
Rich Prohaska
a998803825 compile on mysql 5.6 2013-05-24 10:59:07 -04:00
Rich Prohaska
f239e32078 handle cardinality with alter add drop 2013-05-24 10:59:07 -04:00
Rich Prohaska
1b0261cc5c try to retain cardinality data after add/drop index 2013-05-24 10:59:07 -04:00
Rich Prohaska
51088922fb implement tokudb_fsync_log_period 2013-05-16 13:58:08 -04:00
zkasheff
d5fb75ca2f refs #6684, fix icp bug of queries that do multiple index_next_same calls with the same cursor 2013-04-30 18:48:08 -04:00
Leif Walsh
ce338d55ac #10 add binary directory's toku_include dir 2013-04-27 15:38:20 -03:00
Leif Walsh
c5d0f4dad6 try fixing names 2013-04-27 15:22:31 -03:00
Leif Walsh
8871076abc #10 change handlerton cmake to include ft-index directly 2013-04-27 13:54:48 -04:00
Rich Prohaska
53b0839a5b res #6655 change tokudb plugin licenses to GPL 2013-04-21 11:58:55 -04:00
Rich Prohaska
5a57ce4efa refs #6372 really use DB_TYPE_TOKUDB on mysql 5.6, will need an upgrade procedure
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@55333 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:19 -04:00
Yoni Fogel
5f919625c1 refs #6372 Merge table delete bugfix to main
svn merge https://svn.tokutek.com/tokudb/mysql.com/mysql-5.5.30-6372b https://svn.tokutek.com/tokudb/mysql.com/mysql-5.5.30
svn merge https://svn.tokutek.com/tokudb/mysql.com/mariadb-5.5.30-6372b https://svn.tokutek.com/tokudb/mysql.com/mariadb-5.5.30
svn merge https://svn.tokutek.com/tokudb/mysql/tokudb-engine/tokudb-engine-6372b https://svn.tokutek.com/tokudb/mysql/tokudb-engine/tokudb-engine


git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@55264 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:19 -04:00
Yoni Fogel
9e6dffba89 fixes #6485 Move memory management for information_schema.global_status into tokudb_init_func and tokudb_end
Everything else is stored directly in the status rows.
Should be more thread safe if mysql/mariadb removes LOCK_status now.

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@55091 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:19 -04:00
Rich Prohaska
fbae97d561 refs #6444 export global status variables on mariadb
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@55027 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:19 -04:00
Rich Prohaska
1b30fe8dc1 refs #6090 support extended keys in tokudb
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54920 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:19 -04:00
Rich Prohaska
f8a28dc1b7 refs #6372 require DB_TYPE_TOKUDB to compile the handlerton
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54888 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:19 -04:00
Rich Prohaska
0f024fd95c refs #6089 build handlerton without 5.6 alter table if we want
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54823 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:19 -04:00
Rich Prohaska
17c3f9eebe refs #6346 fix analyze time limit
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54692 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:19 -04:00
Rich Prohaska
36d80a52b9 refs #6184 run tests on darwin for fun
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54657 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:19 -04:00
Rich Prohaska
e7a2d9874d refs #6184 port some handlerton test to darwin
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54621 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:19 -04:00
Rich Prohaska
a7fff76722 refs #6184 put an assert in a simple template test
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54568 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:19 -04:00
Rich Prohaska
a71feb8ac4 refs #6184 run cardinality tests with valgrind
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54567 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:19 -04:00