- 10 Mar, 2017 1 commit
-
-
Sergei Petrunia authored
#define __STDC_FORMAT_MACROS. Unfortunately there is no single location that would be #includ'ed before everything else. Have to put the #define into each .cc file
-
- 07 Mar, 2017 3 commits
-
-
Vladislav Vaintroub authored
Remove some GCC specific pragmas, use #ifdef __GNUC__ in other places. Only use pthread_setname_np on Linux. Fix a mismerge
-
Sergei Petrunia authored
For example, on Windows.
-
Sergei Petrunia authored
Define __STDC_FORMAT_MACROS before using PRIu64. RocksDB does this in many files
-
- 06 Mar, 2017 2 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
- 21 Feb, 2017 2 commits
-
-
Sergei Petrunia authored
- Get the suite to work with dynamically-linked plugin (ha_rocksdb.so) - Due to the push to keep everything MyRocks-related in storage/rocksdb, there is no mysql-test/include/have_rocksdb.* anymore. Make a copy of storage/rocksdb/mysql-test/rocksdb/include/have_rocksdb*, hopefully these files wont be changed [often]. - Maria-fication of rocksdb_persistent_cache_path test.
-
Sergei Petrunia authored
This change should have been a part of Merge 'merge-myrocks' into 'bb-10.2-mariarocks' Merged cset: Copy of commit d1bb19b8f751875472211312c8e810143a7ba4b6 We probably should make submodule info a part of the mergetree process.
-
- 20 Feb, 2017 1 commit
-
-
Sergei Petrunia authored
-
- 19 Feb, 2017 2 commits
-
-
Sergei Petrunia authored
Merged cset: Copy of commit d1bb19b8f751875472211312c8e810143a7ba4b6 Author: Manuel Ung <mung@fb.com> Date: Fri Feb 3 11:50:34 2017 -0800 ... Add cardinality stats to information schema
-
Sergei Petrunia authored
Test suite parameters for 'rocksdb' test suite were disabled in order to get mysqld to start at all when ha_rocksdb is a dynamic plugin. A lot of tests depend on these parameters being enabled, though. Put them back by using the loose- form.
-
- 09 Feb, 2017 1 commit
-
-
Vladislav Vaintroub authored
This change add WITH_ROCKSDB_{LZ4,BZIP2,ZSTD,snappy} CMake variables that can be set to ON/OFF/AUTO. If variable has default value AUTO, rocksdb links with corresponding compression library. OFF disables compiling/linking with specific compression library, ON forces compiling with it (cmake would throw error if library is not available) Support for ZLIB is added unconditionally, as it is always there.
-
- 07 Feb, 2017 5 commits
-
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
We need to provide -fPIC for ROCKSDB files as well as -frtti if we compile with Clang
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
- 06 Feb, 2017 1 commit
-
-
Sergei Petrunia authored
commit d1bb19b8f751875472211312c8e810143a7ba4b6 Author: Manuel Ung <mung@fb.com> Date: Fri Feb 3 11:50:34 2017 -0800 Add cardinality stats to information schema Summary: This adds cardinality stats to the INFORMATION_SCHEMA.ROCKSDB_INDEX_FILE_MAP table. This is the only missing user collected properties from SST files that we don't expose, which is useful for debugging cardinality bugs. Reviewed By: hermanlee Differential Revision: D4509156 fbshipit-source-id: 2d3918a
-
- 01 Feb, 2017 1 commit
-
-
Vladislav Vaintroub authored
fixed compilation, disabled unix-only tests (the ones that use bash etc). Changed plugin library name to ha_rocksdb.dll/so
-
- 24 Jan, 2017 2 commits
-
-
Sergei Petrunia authored
- Put back the assert on SQL layer at the right location - Adjust rdb_pack_with_make_sort_key to work around the assert (like it is done at other palaces): MyRocks may need to pack a column value even when the column is not in the read set.
-
Vicențiu Ciorbaru authored
-
- 23 Jan, 2017 2 commits
-
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
- 21 Jan, 2017 3 commits
-
-
Sergei Petrunia authored
MyRocks seems to no longer depend on it not being present after the merge.
-
Sergei Petrunia authored
-
Sergei Petrunia authored
- It turns out, ha_rocksdb::table_flags() can return HA_PRIMARY_KEY_IN_READ_INDEX for all kinds of tables (as its meaning is "if there is a PK, PK columns contribute to the secondary index tuple". There is no assumption that a certain PK column can be decoded from the secondary index. (Should probably be fixed in the upstream, too, but I was unable to construct a testcase showing this is necessary). - Following the above, we can undo the init_with_fields() changes in table.cc. MyRocks calls init_with_fields() from ha_rocksdb::open() which sets index-only read capabilities properly.
-
- 11 Jan, 2017 6 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
mariadb_connector_c fetches all submodules in the tre. Invoke it betfore the CONFIGURE_PLUGINS(). This is generally useful, as one can imagine many plugins have submodules.
-
Sergei Petrunia authored
-
Sergei Petrunia authored
- Use rocksdb_sys_vars/my.cnf so that one can run tests from that suite by just "./mtr rocksdb_sys_vars.$TESTNAME" - Add rocksdb and rocksdb_sys_vars to the set of default test suites. Don't run with embedded server, yet.
-
Sergei Petrunia authored
"Userstat" feature in MariaDB does not have I_S.table_statistics.rows_requested column. We'll use I_S.table_statistics.rows_read instead. The testcase doesn't do anything where rows_requested != rows_read.
-
Sergei Petrunia authored
MariaDB doesn't have NO_CLEAR_EVENT support in DEBUG_SYNC facility. Luckily, the test can be re-written to use two different sync points instead. (I've checked that the modified test fails with fb/mysql-5.6 without the fix for e004fd9f (PR #394)
-
- 08 Jan, 2017 1 commit
-
-
Sergei Petrunia authored
- Fix the test cases to not use userstat counters specific to facebook/mysql-5.6 - Make testcase also check MariaDB's ICP counters - Remove ha_rocksdb::check_index_cond(), call handler_index_cond_check instead.
-
- 07 Jan, 2017 2 commits
-
-
Sergei Petrunia authored
Make rocksdb_rows_XXX counters to work
-
Sergei Petrunia authored
In MySQL 5.6, QUICK_SELECT_DESC calls handler->set_end_range() to inform the storage engine about the bounds of the range being scanned. MariaDB doesn't have that (handler::set_end_range call was back-ported but it is not called from QUICK_SELECT_DESC). Instead, it got prepare_*scan() methods from TokuDB. Implement these methods so that MyRocks has information about the range end.
-
- 06 Jan, 2017 1 commit
-
-
Sergei Petrunia authored
-
- 02 Jan, 2017 4 commits
-
-
Sergei Petrunia authored
- Need to manually enable userstat - MariaDB has a lot fewer columns in table_statistics table.
-
Sergei Petrunia authored
and a few trivial test result updates
-
Sergei Petrunia authored
- rocksdb.tmpdir works (however @@rocksdb_tmpdir has no effect yet!) - trx_info_rpl is only run in RBR mode - type_char_indexes_collation now works = take into account that characters with the same weight can have any order after sorting (and they do in MariaDB) = MariaDB doesn't use index-only for extended keys that have partially- covered columns.
-
Sergei Petrunia authored
-