summaryrefslogtreecommitdiff
path: root/mysql-test/lib/v1
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.5 into 10.6Marko Mäkelä2022-07-272-12/+12
|\
| * Merge 10.4 into 10.5Marko Mäkelä2022-07-272-12/+12
| |\
| | * MDEV-28931 --verbose option is too verboseAleksey Midenkov2022-07-182-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | GetOpt::Long bundling option for convenient one-char verbosity levels: -v General verbosity (file and execute operations) -vv High verbosity (algorithmic considerations) -vvv Debug verbosity (anything else)
* | | Merge 10.5 into 10.6Marko Mäkelä2021-10-271-4/+4
|\ \ \ | |/ /
| * | Merge 10.4 into 10.5Marko Mäkelä2021-10-211-4/+4
| |\ \ | | |/
| | * MDEV-19129: Xcode compatibility update: mysql-test-run.pl: rename ↵Sergei Krivonos2021-10-211-4/+4
| | | | | | | | | | | | $opt_vs_config to $multiconfig to use with other cmake multiconfig generators
* | | MDEV-22010: use executables MariaDB named in scriptsRucha Deodhar2021-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | As a part of this MDEV following changes were made: 1) Mariadb named executables used instead of mysql named executables in scripts 2) renamed mysql-test-run and mysql-stress-test to mariadb-test-run and mariadb-stress-test and created a symlink.
* | | MDEV-22189: Change error messages inside code to have mariadb instead ofRucha Deodhar2021-05-241-1/+1
|/ / | | | | | | | | | | | | mysql Fix: Changed error messages, rerecorded results and changed other relevant files.
* | Merge 10.4 into 10.5Marko Mäkelä2020-07-021-1/+1
|\ \ | |/
| * Merge 10.1 into 10.2bb-10.2-mergeMarko Mäkelä2020-07-011-1/+1
| |\
| | * mtr: use env for perlDaniel Black2020-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | On FreeBSD, perl isn't in /usr/bin, its in /usr/local/bin or elsewhere in the path. Like storage/{maria/unittest/,}ma_test_* , we use /usr/bin/env to find perl and run it.
* | | MDEV-22569: Run bin/mariadbd instead of bin/mysqldOtto Kekäläinen2020-06-161-19/+18
|/ / | | | | | | | | | | | | | | | | Replace all references to /usr/sbin/mysqld (and bin and libexec) with mariadbd, so that the binary server will always be 'mariadbd'. Also update all places that reference the server binary in other ways, such as AppArmor profiles and scripts that previously expected to find a 'mysqld' in process lists.
* | Merge 10.1 into 10.2Marko Mäkelä2019-05-1314-14/+14
|\ \ | |/
| * Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-1114-14/+14
| |\
| | * Update FSF AddressVicențiu Ciorbaru2019-05-1114-14/+14
| | | | | | | | | | | | * Update wrong zip-code
* | | Merge 10.1 into 10.2Marko Mäkelä2018-11-071-1/+1
|\ \ \ | |/ /
| * | Merge 10.0 into 10.1Marko Mäkelä2018-11-071-1/+1
| |\ \
| | * \ Merge 5.5 into 10.0Marko Mäkelä2018-11-071-1/+1
| | |\ \ | | | |/
| | | * test framework manual is movedTakashi Sasaki2018-11-011-1/+1
| | | |
* | | | MDEV-7660 - MySQL WL#6671 "Improve scalability by not using thr_lock.c locksSergey Vojtovich2016-11-031-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for InnoDB tables" Don't use thr_lock.c locks for InnoDB tables. Below is list of changes that were needed to implement this: - HANDLER OPEN acquireis MDL_SHARED_READ instead of MDL_SHARED - HANDLER READ calls external_lock() even if SE is not going to be locked by THR_LOCK - InnoDB lock wait timeouts are now honored which are much shorter by default than server lock wait timeouts (1 year vs 50 seconds) - with @@autocommit= 1 LOCK TABLES disables autocommit implicitely, though user still sees @@autocommt= 1 - the above starts implicit transaction - transactions started by LOCK TABLES are now rolled back on disconnect (previously everything was committed due to autocommit) - transactions started by LOCK TABLES are now rolled back by ROLLBACK (previously everything was committed due to autocommit) - it is now impossible to change BINLOG_FORMAT under LOCK TABLES (at least to statement) due to running transaction - LOCK TABLES WRITE is additionally handled by MDL - ...in contrast LOCK TABLES READ protection against DML is pure InnoDB - combining transactional and non-transactional tables under LOCK TABLES may cause rolled back changes in transactional table and "committed" changes in non-transactional table - user may disable innodb_table_locks, which will cause LOCK TABLES to be noop basically Removed tests for BUG#45143 and BUG#55930 which cover InnoDB + THR_LOCK. To operate properly these tests require code flow to go through THR_LOCK debug sync points, which is not the case after this patch. These tests are removed by WL#6671 as well. An alternative is to port them to different storage engine.
* | | | various cleanupsMichael Widenius2016-06-301-1/+1
| | | |
* | | | General spell fixing in comments and stringsOtto Kekäläinen2016-06-081-1/+1
|/ / /
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-03-211-1/+1
|\ \ \ | |/ /
| * | Fix spelling: occurred, execute, which etcOtto Kekäläinen2016-03-041-1/+1
| | |
* | | MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes)Sergei Golubchik2014-10-116-1450/+3
|/ / | | | | | | | | | | | | | | | | | | remove: * NDB from everywhere * IM from mtr-v1 * packaging/rpm-oel and packaging/rpm-uln * few unused spec files * plug.in file * .bzrignore
* | 10.0-base mergeSergei Golubchik2013-12-161-1/+1
|\ \
| * \ 5.5 mergeSergei Golubchik2013-11-231-1/+1
| |\ \ | | |/
| | * mysql-5.5.34 mergeSergei Golubchik2013-11-191-1/+1
| | |\ | | | | | | | | | | | | (some patches reverted, test case added)
| | | * upmerge bug 17035577 5.1 => 5.5sayantan dutta2013-07-171-1/+1
| | | |\
| | | | * Bug #17035577 - MTR V1 FAILS TO START SERVER MTR_VERSION=1 PERL ↵sayantan dutta2013-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | MYSQL-TEST-RUN.PL 1ST
| | | | * Updated/added copyright headers.Murthy Narkedimilli2013-02-251-1/+1
| | | | |
* | | | | 10.0-base mergeSergei Golubchik2013-07-181-7/+4
|\ \ \ \ \ | |/ / / /
| * | | | 5.5 mergeSergei Golubchik2013-07-171-7/+4
| |\ \ \ \ | | |/ / /
| | * | | mysql-5.5.32 mergeSergei Golubchik2013-07-161-7/+4
| | |\ \ \ | | | |/ /
| | | * | Bug #16401597 - MTR V1 RETURNS INCORRECT PATH TO VARIABLE @@BASEDIRsayantan dutta2013-04-041-7/+4
| | | | |
* | | | | Merge 10.0-base -> 10.0unknown2013-05-031-5/+5
|\ \ \ \ \ | |/ / / /
| * | | | Instead of writing "Errcode" to the log for Slave errors, use "Internal ↵Michael Widenius2013-05-031-5/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MariaDB error code" This makes it clear that the error code has nothing to do with errno. mysql-test/include/mtr_warnings.sql: Fixed suppression for new slave error messages mysql-test/lib/My/Test.pm: Use 'send' instead of 'print' to avoid errors about "wrong class ... back attempt" mysql-test/lib/v1/mtr_report.pl: Fixed suppression for new slave error messages mysql-test/mysql-test-run.pl: Fixed suppression for new slave error messages Removed warning from perl 5.16.2 about arrays mysql-test/r/flush_read_lock.result: Fixed suppression for new slave error messages sql/rpl_reporting.cc: Instead of writing "Errcode" to the log for Slave errors, use "Internal MariaDB error code"
* | | | 10.0-base mergeSergei Golubchik2013-01-311-0/+2
|\ \ \ \ | |/ / /
| * | | Fixed problem with failing mysql_upgrade when proc table was not correct.Michael Widenius2013-01-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved out creation of performance schema tables from mysql_system_tables.sql as the performance_tables creation scripts needs a working mysql.proc to work. client/mysql_upgrade.c: Added option -V, --version debian/dist/Debian/mariadb-server-5.5.files: Added mysql_performance_tables.sql debian/dist/Ubuntu/mariadb-server-5.5.files: Added mysql_performance_tables.sql mysql-test/lib/v1/mysql-test-run.pl: Added mysql_performance_tables.sql mysql-test/mysql-test-run.pl: Added mysql_performance_tables.sql scripts/CMakeLists.txt: Moved out creation of performance schema tables from mysql_system_tables.sql as the performance_tables creation scripts needs a working mysql.proc to work scripts/mysql_install_db.sh: Added mysql_performance_tables.sql scripts/mysql_performance_tables.sql: Moved out creation of performance schema tables from mysql_system_tables.sql as the performance_tables creation scripts needs a working mysql.proc to work scripts/mysql_system_tables.sql: Move creation of performance schema tables to mysql_performance_tables.sql Added 'flush tables' to get things to work if someone deletes a table like mysql.proc before run scripts/mysql_system_tables_fix.sql: ove performance table things to mysql_performance_tables.sql storage/perfschema/pfs.cc: Fixed comment
* | | | MDEV-3820 MTR1 produces bootstrap SQL file with wrong syntax, server ↵Sergei Golubchik2012-10-291-1/+1
|/ / / | | | | | | | | | bootstrap fails
* | | Fix RQG in 5.5, make mtr MTR_VERSION=1 functional.Vladislav Vaintroub2011-12-271-1/+1
| | | | | | | | | | | | Patch by elenst
* | | 5.3->5.5 mergeSergei Golubchik2011-11-221-4/+10
|\ \ \
| * | | Fixed that test doesn't abort if 'var' points to a deleted directory (common ↵Michael Widenius2011-11-041-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | case when using --mem) Better error message if --log-bin is used without --log-bin-index mysql-test/lib/v1/mysql-test-run.pl: Fixed that test doesn't abort if 'var' points to a deleted directory (common case when using --mem) sql/mysqld.cc: Better error message if --log-bin is used without --log-bin-index
* | | | mysql-5.5.18 mergeSergei Golubchik2011-11-0314-13/+52
|\ \ \ \ | | |/ / | |/| |
| * | | Updated/added copyright headersKent Boortz2011-06-3014-13/+52
| |\ \ \ | | | |/ | | |/|
| | * | Updated/added copyright headersKent Boortz2011-06-3014-13/+56
| | | |
| * | | BUG #59055: RQG was broken after the checkin that removed rpl and rpl_ndb ↵Anitha Gopi2010-12-211-1/+1
| | | | | | | | | | | | | | | | suites. RQG uses MTR V1 and that still has these in the default suite. Removing these from V1. Also removing references to ndb tests in some more disabled.def files
* | | | merge with 5.3Sergei Golubchik2011-10-191-2/+3
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sql/sql_insert.cc: CREATE ... IF NOT EXISTS may do nothing, but it is still not a failure. don't forget to my_ok it. ****** CREATE ... IF NOT EXISTS may do nothing, but it is still not a failure. don't forget to my_ok it. sql/sql_table.cc: small cleanup ****** small cleanup
| * | | Merge with 5.1-microsecondsMichael Widenius2011-05-281-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A lot of small fixes and new test cases. client/mysqlbinlog.cc: Cast removed client/mysqltest.cc: Added missing DBUG_RETURN include/my_pthread.h: set_timespec_time_nsec() now only takes one argument mysql-test/t/date_formats.test: Remove --disable_ps_protocl as now also ps supports microseconds mysys/my_uuid.c: Changed to use my_interval_timer() instead of my_getsystime() mysys/waiting_threads.c: Changed to use my_hrtime() sql/field.h: Added bool special_const_compare() for fields that may convert values before compare (like year) sql/field_conv.cc: Added test to get optimal copying of identical temporal values. sql/item.cc: Return that item_int is equal if it's positive, even if unsigned flag is different. Fixed Item_cache_str::save_in_field() to have identical null check as other similar functions Added proper NULL check to Item_cache_int::save_in_field() sql/item_cmpfunc.cc: Don't call convert_constant_item() if there is nothing that is worth converting. Simplified test when years should be converted sql/item_sum.cc: Mark cache values in Item_sum_hybrid as not constants to ensure they are not replaced by other cache values in compare_datetime() sql/item_timefunc.cc: Changed sec_to_time() to take a my_decimal argument to ensure we don't loose any sub seconds. Added Item_temporal_func::get_time() (This simplifies some things) sql/mysql_priv.h: Added Lazy_string_decimal() sql/mysqld.cc: Added my_decimal constants max_seconds_for_time_type, time_second_part_factor sql/table.cc: Changed expr_arena to be of type CONVENTIONAL_EXECUTION to ensure that we don't loose any items that are created by fix_fields() sql/tztime.cc: TIME_to_gmt_sec() now sets *in_dst_time_gap in case of errors This is needed to be able to detect if timestamp is 0 storage/maria/lockman.c: Changed from my_getsystime() to set_timespec_time_nsec() storage/maria/ma_loghandler.c: Changed from my_getsystime() to my_hrtime() storage/maria/ma_recovery.c: Changed from my_getsystime() to mmicrosecond_interval_timer() storage/maria/unittest/trnman-t.c: Changed from my_getsystime() to mmicrosecond_interval_timer() storage/xtradb/handler/ha_innodb.cc: Added support for new time,datetime and timestamp unittest/mysys/thr_template.c: my_getsystime() -> my_interval_timer() unittest/mysys/waiting_threads-t.c: my_getsystime() -> my_interval_timer()
| | * | | lp:731103 Assertion `maybe_null && item->null_value' failed with ORDER BY ↵Sergei Golubchik2011-03-081-1/+1
| | | |/ | | |/| | | | | | | | | | | | | | | | | LAST_DAY() Item_func_last_day did not set mayby_null=1