summaryrefslogtreecommitdiff
path: root/storage/mroonga/mysql-test
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '10.2' into 10.3Monty2019-09-031-0/+6
|\
| * Updated mtr files to support different compiled in optionsMonty2019-09-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows one to run the test suite even if any of the following options are changed: - character-set-server - collation-server - join-cache-level - log-basename - max-allowed-packet - optimizer-switch - query-cache-size and query-cache-type - skip-name-resolve - table-definition-cache - table-open-cache - Some innodb options etc Changes: - Don't print out the value of system variables as one can't depend on them to being constants. - Don't set global variables to 'default' as the default may not be the same as the test was started with if there was an additional option file. Instead save original value and reset it at end of test. - Test that depends on the latin1 character set should include default_charset.inc or set the character set to latin1 - Test that depends on the original optimizer switch, should include default_optimizer_switch.inc - Test that depends on the value of a specific system variable should set it in the test (like optimizer_use_condition_selectivity) - Split subselect3.test into subselect3.test and subselect3.inc to make it easier to set and reset system variables. - Added .opt files for test that required specfic options that could be changed by external configuration files. - Fixed result files in rockdsb & tokudb that had not been updated for a while.
* | MDEV-17544 No warning when trying to name a primary key constraint.Alexey Botchkov2019-07-301-0/+2
| | | | | | | | Warning added.
* | Merge 10.2 into 10.3Marko Mäkelä2019-05-14779-779/+779
|\ \ | |/
| * Merge 10.1 into 10.2Marko Mäkelä2019-05-13779-779/+779
| |\
| | * Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-11779-779/+779
| | |
* | | Merge 10.2 into 10.3Marko Mäkelä2019-03-082-4/+4
|\ \ \ | |/ /
| * | MDEV-18625 ASAN unknown-crash in my_copy_fix_mb / ↵Sergei Golubchik2019-03-062-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ha_mroonga::storage_inplace_alter_table_add_column disable inplace alter for adding stored generated columns. This fixes mroonga/storage.column_generated_stored_add_column failures in ASAN_OPTIONS="abort_on_error=1" runs Also, add a test case that shows the bug without ASAN.
* | | Merge 10.2 into 10.3Marko Mäkelä2018-12-181-1/+1
|\ \ \ | |/ /
| * | MDEV-14576 Include full name of object in message about incorrect value for ↵Alexey Botchkov2018-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | column. The error message modified. Then the TABLE_SHARE::error_table_name() implementation taken from 10.3, to be used as a name of the table in this message.
| * | MDEV-11839 move value caching from get_datetime_value to fix_fields timeSergei Golubchik2018-03-142-2/+2
|/ / | | | | | | | | | | | | | | | | Refactor get_datetime_value() not to create Item_cache_temporal(), but do it always in ::fix_fields() or ::fix_length_and_dec(). Creating items at the execution time doesn't work very well with virtual columns and check constraints that are fixed and executed in different THDs.
* | Merge branch '10.1' into 10.2Sergei Golubchik2017-11-211179-3348/+11532
|\ \ | |/
| * mroonga after-merge test fixesSergei Golubchik2017-11-178-13/+15
| | | | | | | | "sed -r" fails on labrador. Don't use sed, use perl.
| * Update Mroonga to the latest version on 2017-10-16T09:50:49+0900Kentoku2017-10-1611-20/+76
| |
| * Update Mroonga to the latest version on 2017-10-10T23:15:25+0900Kentoku2017-10-101172-3314/+11462
| |
* | Merge branch '10.1' into 10.2Sergei Golubchik2017-03-30612-612/+612
|\ \ | |/
| * Correct FSF addressiangilfillan2017-03-10612-612/+612
| |
* | MDEV-7635: Fix for mroonga 32-bit test failures.Nirbhay Choubey2017-02-1020-56/+56
| |
* | MDEV-7635: Update tests to adapt to the new default sql_modeNirbhay Choubey2017-02-1016-22/+34
| |
* | store/show vcols as item->print()Sergei Golubchik2016-12-128-8/+8
| | | | | | | | | | | | | | | | | | | | otherwise we'd need to store sql_mode *per vcol* (consider CREATE INDEX...) and how SHOW CREATE TABLE would support that? Additionally, get rid of vcol::expr_str, just to make sure the string is always generated and never leaked in the original form.
* | cleanup: remove Item::intro_versionSergei Golubchik2016-12-122-4/+4
| | | | | | | | | | and partition_info::set_show_version_string - they were already broken and impossible to maintain
* | Merge branch '10.1' into 10.2Sergei Golubchik2016-09-098-0/+10
|\ \ | |/
| * MDEV-9363 - Mroonga tests with datetime field fail on Solaris in buildbotSergey Vojtovich2016-07-088-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Solaris mktime() adds one extra day to tm_mday field and returns appropriate value for dates 1600-01-01 and earlier. That is 1600-01-01 becomes 1600-01-02. Solaris mktime manual excerpts: ... The tm_year member must be for year 1901 or later. Calendar times before 20:45:52 UTC, December 13, 1901 or after 03:14:07 UTC, January 19, 2038 cannot be represented. Port- able applications should not try to create dates before 00:00:00 UTC, January 1, 1970 or after 00:00:00 UTC, January 1, 2038. ... The mktime() function assumes Gregorian dates. Times before the adoption of the Gregorian calendar will not match his- torial records. ... According to manual Mroonga only supports dates and datetimes after 1900: https://mariadb.com/kb/en/mariadb/about-mroonga/ Technically these tests cover unsupported values and should fail on all platforms. Disable tests until the problem is fixed upstream.
* | Part of MDEV-10134 Add full support for DEFAULTMichael Widenius2016-06-30155-222/+222
| | | | | | | | | | | | | | Print default values for BLOB's. This is a part commit for automatic changes to make the real commit smaller. All changes here are related to that we now print DEFAULT NULL for blob and text fields, like we do for all other fields.
* | MDEV-6720 - enable connection log in mysqltest by defaultSergey Vojtovich2016-03-315-0/+21
|/
* Merge branch '10.0' into 10.1Sergei Golubchik2015-12-2114-0/+14
|\
| * Disable some test with year that are outside of the range that mroonga can ↵Monty2015-11-304-0/+4
| | | | | | | | handle
| * Fixed problems found by buildbot:Monty2015-11-2710-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Better error from check_slave_param - Better error message from TokuDB if it can't be compiled. - Marked rpl_mixed_drop_create_temp_table and rpl_stm_drop_create_temp_table as big tests to stop timeout failures on power8 - Added sync_slave_with_master to semisync_future-7591 to ensure that slave is up to date with master before calling rpl_end. - Disabled compiler warnings from connect and mroonga and on MacOSX. Mroonga: - Fixed bug when testing if file is a normal file that can be deleted - Marked a lot of date and datetime test to not run on macosx. This is because mktime() can't handle negative years and this restricts mroonga so that it can only store dates after the year 1900.
* | Merge branch '10.0' into 10.1Sergei Golubchik2015-11-191-0/+3
|\ \ | |/
| * Fixed buildbot failures on Solaris 64 bitMonty2015-11-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | rpl/rpl_mdev382 ; Wrong replace in show_binlog_events2.inc binlog/database ; Different error on Solaris if file exists mroonga/repair_table_no_index_file ; Different system error on Solaris partition_not_blackhole ; Different error on Solaris partition_myisam ; Different error on Solaris Some other failures in mroonga was because have_32bit.inc didn't correctly detect 64 bits on Solaris. Fixed using DEFAULT_MACHINE instead of MACHINE_TYPE for Sys_version_compile_machine.
* | Merge branch '10.0' into 10.1Sergei Golubchik2015-09-031-1/+1
|\ \ | |/ | | | | | | referenced_by_foreign_key2(), needed for InnoDB to compile, was taken from 10.0-galera
| * MDEV-8506 mroonga/wrapper.performance_schema fails in buildbot on ↵Elena Stepanova2015-07-201-1/+1
| | | | | | | | | | | | | | bld-dan-release The test has performance-schema in the opt file, so it failed when the server was compiled without performance schema. Make the option loose, then MTR will be able to reach have_perfschema.inc check and will skip the test gracefully.
* | Ensure that fields declared with NOT NULL doesn't have DEFAULT values if not ↵Monty2015-08-182-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specified and if not timestamp or auto_increment In original code, sometimes one got an automatic DEFAULT value in some cases, in other cases not. For example: create table t1 (a int primary key) - No default create table t2 (a int, primary key(a)) - DEFAULT 0 create table t1 SELECT .... - Default for all fields, even if they where defined as NOT NULL ALTER TABLE ... MODIFY could sometimes add an unexpected DEFAULT value. The patch is quite big because we had some many test cases that used CREATE ... SELECT or CREATE ... (...PRIMARY KEY(xxx)) which doesn't have an automatic DEFAULT anymore. Other things: - Removed warnings from InnoDB when waiting from semaphore (got this when testing things with --big)
* | MDEV-8508 mroonga fails embedded tests in 10.1Sergei Golubchik2015-07-202-2/+2
| | | | | | | | | | as a workaround until the bug is fixed don't run mroonga tests in --embedded mode by default
* | Update Mroonga to the latest version on 2015-07-02T04:12:21+0900Kentoku SHIBA2015-07-02155-279/+2203
|/
* mroonga doesn't work in embedded anymoreSergei Golubchik2015-05-052-0/+10
| | | | specify RECOMPILE_FOR_EMBEDDED and disable tests in suite.pm
* add -fPIC for groonga-normalizer-mysqlKentoku SHIBA2015-05-0542-1426/+0
|
* Update Mroonga to the latest version on 2015-04-30T04:44:30+0900Kentoku SHIBA2015-04-30177-552/+3940
|
* after merge: fix mroonga to compile and pass its testsSergei Golubchik2015-02-194-4/+4
|
* Update Mroonga to the latest version on 2015-02-17T13:34:27+0900Kentoku SHIBA2015-02-1753-69/+1215
|
* MDEV-7072 mroonga/wrapper.version_56_or_later_performance_schema fails in ↵Elena Stepanova2014-11-121-0/+1
| | | | | | | buildbot on a build without perfschema Added a call for the include file to check for the presence of perfschema
* Disable foreign_key_create test.Kentoku SHIBA2014-10-241-0/+2
|
* Skip Mroonga if platform is big endian. Remove last test disabling.Kentoku SHIBA2014-10-231-8/+0
|
* Disable tests for Power8.Kentoku SHIBA2014-10-221-0/+8
|
* Update Mroonga to the latest version on 2014-10-21T04:51:38+0900Kentoku SHIBA2014-10-2146-22/+1084
|
* Update Mroonga to the latest version on 2014-09-21T00:33:44+0900Kentoku SHIBA2014-09-21996-0/+46477