- 26 Dec, 2016 3 commits
-
-
Sergei Petrunia authored
rocksdb.cons_snapshot_read_committed test used to crash. This happened, because - MyRocks produces an error when one attempts to do a START TRANSACTION WITH CONSISTENT SNAPSHOT with @@tx_isolation=REPEATABLE_READ - MariaDB's SQL layer didn't assume that errors are possible inside hton->start_constistent_snapshot() call.
-
Sergei Petrunia authored
The test still fails but at least we do not try to run it with wrong binlog_format.
-
Sergei Petrunia authored
Looked though the code: MariaDB's method of doing START TRANSACTION WITH CONSISTENT SNAPSHOT doesn't require mysql_bin_log_lock_commits calls.
-
- 15 Dec, 2016 4 commits
-
-
Sergei Petrunia authored
Run it only with binlog_format=row, update test result
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
The 'combinations' system in MTR ignores settings from $testname.cnf, and tries to run RBR test with binlog_format=mixed. Fixed by using "source include/have_binlog_format_row.inc" which tells MTR to only run the test with binlog_format=ROW. The test still needs its $testname.cnf to include suite/rpl/my.cnf. This is necessary to setup replication (Using "source include/master-slave.inc" will have MTR set up replication for the test, but only as long as the testsuite doesn't have its own suite/rocksdb/my.cnf. We do have that file (and it doesn't set up replication), so we need to have $testname.cnf to setup replication).
-
- 04 Dec, 2016 4 commits
-
-
Sergei Petrunia authored
- port Regex_list_handler from facebook/mysql-5.6/sql/handler.cc put it into a separate file in storage/rocksdb directory - Adjust the build process so that the main library is build with Regex_list_handler (which has dependencies on the server), while RocksDB tools are built without it. - Un-comment @@rdb_collation_exceptions handling in ha_rocksdb.cc - Also adjust rocksdb_set_collation_exception_list() to free the old variable value and alloc the new one.
-
Sergei Petrunia authored
Also update test results (MariaDB's dialect changes)
-
Sergei Petrunia authored
- Make ha_rocksdb::check_if_supported_inplace_alter() take into account the Alter_inplace_info::ALTER_PARTITIONED flag - Adjust the testcase to work in MariaDB
-
Sergei Petrunia authored
Making read-free replication to work is filed as MDEV-10976
-
- 03 Dec, 2016 11 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
The test relies on having userstat enabled, which is not ON by default in MariaDB.
-
Sergei Petrunia authored
This fixes - rocksdb.col_opt_not_null - rocksdb.col_opt_null - rocksdb.type_date_time
-
Sergei Petrunia authored
MariaDB has a different checksumming algorithm. Old one can be used by setting @@old=1
-
Sergei Petrunia authored
Failure to do so caused the command not to be run, and test failed
-
Sergei Petrunia authored
The test stopped giving deadlock errors after the previous cset.
-
Sergei Petrunia authored
Failure to do so caused a failure in rocksdb.rocksdb test. When test_if_cheaper_ordering computes is_covering= ..., - MySQL calls table->file->primary_key_is_clustered() - MariaDB calls (table->file->index_flags(nr, 0, 1) & HA_CLUSTERED_INDEX) The first produces true, the second used to produce false.
-
Sergei Petrunia authored
-
Sergei Petrunia authored
MariaDB produces warnings when INSERT IGNORE hits a duplicate (this was introduced in MEV-5168)
-
- 02 Dec, 2016 7 commits
-
-
Sergei Petrunia authored
... due to different index statistics Make statistics calculations in MariaRocks produce the same values that MyRocks produces. Added a comment in rdb_datadic.cc
-
Sergei Petrunia authored
Update the test results (checked)
-
Sergei Petrunia authored
- EXPLAIN result differences are due to MariaDB's MDEV-11172 - Don't print the value of rocksdb_supported_compression_types to .result file - The rest is trivial Maria-fication
-
Sergei Petrunia authored
- EXPLAIN is different - error message is - the output order is different, because MySQL knows when to use ha_partition::handle_unordered_scan_next_partition. Reading the table data without any ordering happens to produce MariaDB uses ha_partition::handle_ordered_index_scan for this index scan (this is a deficiency), which causes it to produce the row with pk=1 first. MariaDB uses
-
Sergei Petrunia authored
This cset just re-uses the approach from facebook/mysql-5.6 (Perhaps we will have something different for MariaDB in the end). For now this is: Port this fix dd7eeae69503cb8ab6ddc8fd9e2fef451cc31a32 Issue#250: MyRocks/Innodb different output from query with order by on table with index and decimal type Summary: Make open_binary_frm() set TABLE_SHARE::primary_key before it computes Also add the patch for https://github.com/facebook/mysql-5.6/issues/376
-
Sergei Petrunia authored
Also do similar result updates for: - rocksdb.type_date_time_indexese - rocksdb.type_fixed_indexes
-
Sergei Petrunia authored
Upadte test results (see jira entry for investigation about the source of the differences)
-
- 21 Nov, 2016 1 commit
-
-
Sergei Petrunia authored
Backport the fix for BUG#81810 from facebook/mysql-5.6 tree. Added the original testcase. rocksdb.type_text_indexes still fails due to another problem.
-
- 20 Nov, 2016 1 commit
-
-
Sergei Petrunia authored
- MariaDB produces a warning instead of error when the key length is too long - Trivial test results updates - rocksdb.rocksdb still fails but this commit makes some progress.
-
- 18 Nov, 2016 2 commits
-
-
Sergei Petrunia authored
The warning "ORDER BY ignored as there is a user-defined clustered index in the table 't1' was missing. The reason is different condition in copy_data_between_tables(): MariaDB has a change, it uses to->file->ha_table_flags() & HA_TABLE_SCAN_ON_INDEX while MySQL uses: to->file->primary_key_is_clustered()). For some reason, MyRocks didn't have HA_TABLE_SCAN_ON_INDEX flag. It should have one, will raise that with upstream, too.
-
Sergei Petrunia authored
rocksdb.lock: LOCK TABLE t1 LOW_PRIORITY WRITE does not produce a warining in MariaDB rocksdb.unique_check: - MariaDB's mtr prints connection actions - New (but temporary) ER_LOCK_WAIT_TIMEOUT text rocksdb.allow_pk_no_concurrent_insert: - Fix path rocksdb.locking_issues - Fix path - The test still fails but for a different reason now
-
- 15 Nov, 2016 1 commit
-
-
Nirbhay Choubey authored
-
- 13 Nov, 2016 2 commits
-
-
Sergei Petrunia authored
- Introduce @@rocksdb_supported_compression_types read-only variable. It has a comma-separated list of compiled-in compression algorithms. - Make rocksdb.compression_zstd test skip itself when ZSTD support is not compiled in
-
Sergei Petrunia authored
I've moved it to storage/rocksdb/mysql-test/rocksdb/my.cnf, but replication tests do not include that file? Will need to get back to this when getting replication to work
-
- 12 Nov, 2016 4 commits
-
-
Sergei Petrunia authored
facebook/mysql-5.6 has error messages with extra info, MariaDB doesn't have extra info: -ERROR HY000: Lock wait timeout exceeded; try restarting transaction: Timeout on index: test.t1.PRIMARY +ERROR HY000: Lock wait timeout exceeded; try restarting transaction This patch updates .result files so that differences do not get in the way; if we decide to use new error message text in MariaDB, this patch can be applied in reverse.
-
Sergei Petrunia authored
- Before this, one had to provide appropriate --mysqld=.... options to mysql-test-run. - Also moved one option from rocksdb/suite.opt to rocksdb/my.cnf.
-
Sergei Petrunia authored
MySQL's log entries start with log entries like YYYY-MM-DD 08:25:04 ... while MariaDB YYYY-MM-DD 8:25:04 ... note that '08' turns into ' 8'. Made grep pattern to account for this.
-
Sergei Petrunia authored
Copy mysql-test/include/restart_mysqld_with_option.inc from facebook/mysql-5.6
-