summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.0 into 10.1Marko Mäkelä2019-03-261-1/+1
|\
| * Fix USE_AFTER_FREE (CWE-416)FaramosCZ2019-03-221-1/+1
| | | | | | swap two lines
* | MDEV-11966: Impossible to execute prepared ANALYZE SELECTOleksandr Byelkin2019-03-121-0/+20
| | | | | | | | Prepare os ANALYZE now respond as EXPLAIN.
* | MDEV-14265 - RPMLint warning: shared-lib-calls-exitSergey Vojtovich2018-03-163-15/+5
| | | | | | | | Eliminated last exit() call from libmysqld.
* | Merge 10.0 into 10.1Marko Mäkelä2017-05-231-0/+1
|\ \ | |/
| * MDEV-6262 analyze the coverity report on mariadbSergei Golubchik2017-05-191-0/+1
| | | | | | | | | | uploaded 10.0, analyzed everything with the Impact=High (and a couple of Medium)
* | Merge branch '10.0' into 10.1Sergei Golubchik2017-05-081-11/+25
|\ \ | |/
| * Fixed some bugs in fork_big.pl which caused some tests to die earlyMonty2017-05-051-11/+25
| | | | | | | | | | | | | | - Changed to 'strict' - Fixed scope of variables - Made timing smaller for of repair, check, flush and alter to get them to trigger earlier
* | Merge 10.0 into 10.1Marko Mäkelä2017-03-091-2/+48
|\ \ | |/ | | | | | | | | | | | | | | Also, implement MDEV-11027 a little differently from 5.5 and 10.0: recv_apply_hashed_log_recs(): Change the return type back to void (DB_SUCCESS was always returned). Report progress also via systemd using sd_notifyf().
| * Merge branch '5.5' into 10.0Vicențiu Ciorbaru2017-03-031-2/+48
| |\
| | * MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_listSergei Golubchik2017-02-271-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | mysql_prune_stmt_list() was walking the list following element->next pointers, but inside the loop it was invoking list_add(element) that modified element->next. So, mysql_prune_stmt_list() failed to visit and reset all elements, and some of them were left with pointers to invalid MYSQL.
* | | MDEV-11082 mysql_client_test: test_ps_query_cache fails with ↵Elena Stepanova2016-10-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | group-concat-max-len=1M test_bug14169 was setting session group_concat_max_len=1024 and did not clean it up. Because of that test_ps_query_cache, when run with group-concat-max-len != 1024, had different values in connections, and was inserting into query cache when a hit was expected. Fixed by adding a clean-up for the value in test_bug14169
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-09-281-1/+1
|\ \ \ | |/ /
| * | Merge branch '5.5' into 10.0Sergei Golubchik2016-09-271-1/+1
| |\ \ | | |/
| | * Fix free() after my_malloc() (should be my_free()).Kristian Nielsen2016-09-241-1/+1
| | | | | | | | | | | | Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-08-251-1/+2
|\ \ \ | |/ /
| * | MDEV-10559: main.mysql_client_test_nonblock crashes in buildbot on 10.0Oleksandr Byelkin2016-08-161-3/+3
| | | | | | | | | | | | fix for async operations
| * | MDEV-10559: main.mysql_client_test_nonblock crashes in buildbot on 10.0Oleksandr Byelkin2016-08-151-4/+5
| | | | | | | | | | | | Fix tests which possibly fail connects in non_blocking mode.
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-05-041-7/+9
|\ \ \ | |/ /
| * | tests -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ciSergei Golubchik2016-04-241-7/+7
| | | | | | | | | | | | | | | | | | | | | This fixes: MDEV-7693 MariaDB - mysql-test - SUITE:funcs_1 - funcs_1.is_tables_mysql is failing on TABLE_COLLATION /DATABASE_COLLATION MDEV-8487 mysql-test - main.information_schema 'xtradb' fails MDEV-8486 mysql-test - main.bootstrap fails
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-03-213-6/+6
|\ \ \ | |/ /
| * | Fix spelling: occurred, execute, which etcOtto Kekäläinen2016-03-043-6/+6
| | |
* | | MDEV-5273 Prepared statement doesn't return metadata after prepare.Alexey Botchkov2016-01-281-0/+14
| | | | | | | | | | | | SHOW CREATE PROCEDURE/FUNCTION fixed.
* | | MDEV-5273 Prepared statement doesn't return metadata after prepare.Alexey Botchkov2016-01-281-0/+7
| | | | | | | | | | | | SHOW MASTER STATUS fixed.
* | | MDEV-5273 Prepared statement doesn't return metadata after prepare.Alexey Botchkov2016-01-281-0/+7
| | | | | | | | | | | | SHOW SLAVE STATUS fixed.
* | | MDEV-5273 Prepared statement doesn't return metadata after prepare.Alexey Botchkov2016-01-281-0/+7
| | | | | | | | | | | | Fix for SHOW GRANTS statement.
* | | MDEV-5273 Prepared statement doesn't return metadata after prepare.Alexey Botchkov2016-01-281-1/+6
| | | | | | | | | | | | Fix for SHOW CREATE DATABASE.
* | | MDEV-5273 Prepared statement doesn't return metadata after prepare.Alexey Botchkov2016-01-261-0/+9
| | | | | | | | | | | | | | | The metadata creation part of the mysqld_shww_create separated to be used on the mysqld_stmt_prepare stage.
* | | Merge branch '10.0' into 10.1Sergei Golubchik2015-12-212-0/+9
|\ \ \ | |/ /
| * | Fixes to get all test to run on MacosX Lion 10.7Monty2015-11-292-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes fixing all utilities to not have any memory leaks, as safemalloc warnings stopped tests from passing on MacOSX. - Ensure that all clients takes character-set-dir, as the libmysqlclient library will use it. - mysql-test-run now passes character-set-dir to all external clients. - Changed dynstr_free() so that it can be called twice (made freeing code easier) - Changed rpl_global_gtid_slave_state to be allocated dynamicly as it includes a mutex that needs to be initizlied/destroyed before my_end() is called. - Removed rpl_slave_state::init() and rpl_slave_stage::deinit() as their job are better handling by constructor and delete. - Print alias instead of table_name in check_duplicate_key as table_name may have been converted to lower case. Other things: - Fixed a case in time_to_datetime_with_warn() where we where using && instead of & in tests
* | | add missing DBUG_RETURN-sSergei Golubchik2015-11-161-1/+1
| | |
* | | MDEV-6066: Merge new defaults from 5.6 and 5.7 (defaults changed, QC can be ↵Oleksandr Byelkin2015-09-041-3/+19
| | | | | | | | | | | | stopped with no-zero size)
* | | remove a google specific scriptSergei Golubchik2015-04-081-119/+0
| | |
* | | Push for testing of encryptionMonty2015-02-101-0/+119
|/ /
* | 5.5 mergeSergei Golubchik2015-01-212-2/+2
|\ \ | |/
| * mysql-5.5.41 mergeSergei Golubchik2014-12-192-2/+2
| |\
| | * Changing the copyright headers a bit to be complaint with the standardsMurthy Narkedimilli2014-08-272-2/+2
| | |
* | | 5.5.40+ mergeSergei Golubchik2014-10-091-5/+5
|\ \ \ | |/ /
| * | MDEV-5120 Test suite test maria-no-logging failsSergei Golubchik2014-10-021-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | stat structure (from <sys/stat.h>) is conditionally defined to have different layout and size depending on the defined macros. The correct macro is defined in my_config.h, which means it MUST be included first (or, at least before <features.h> - so, practically, before including any system headers).
* | | MDEV-6647 MariaDB CLI client doesnt show CREATE INDEX progressSergei Golubchik2014-09-101-1/+19
| | | | | | | | | | | | SQLCOM_CREATE_INDEX was missing CF_REPORT_PROGRESS flag
* | | Fixed assert in perfschema/pfs.cc::start_idle_wait_v1 when using performance ↵Michael Widenius2014-07-191-1/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | schema and big packets in debug version. The bug was that my_real_read() called net_before_header_psi() multiple times for long packets. Fixed by adding a flag when we are reading a header. Did also some cleanups to interface of my_net_read() to avoid unnecessary calls if performance schema is not used. - Added my_net_read_packet() as a replacement for my_net_read(). my_net_read() is still in the client library for old clients. - Removed THD->m_server_idle (not needed anymore as this is now given as argument to my_net_read_packet() - Added my_net_read_packet(), which is a new version of my_net_read() with a new parameter if we are doing a read for a new command from the server. - Added tests for compressed protocol and big packets include/mysql.h.pp: Added my_net_read_packet() as a replacement for my_net_read() include/mysql_com.h: Added my_net_read_packet() as a replacement for my_net_read() mysql-test/r/mysql_client_test_comp.result: New test mysql-test/t/mysql_client_test-master.opt: Added max_allowed_packet to be able to test big packets and packet size overflows. mysql-test/t/mysql_client_test_comp-master.opt: New test mysql-test/t/mysql_client_test_nonblock-master.opt: Added max_allowed_packet to be able to test big packets and packet size overflows. sql-common/client.c: Use my_net_read_packet() sql/mf_iocache.cc: Use my_net_read_packet() sql/mysqld.cc: Removed THD->m_server_idle (not needed anymore as this is now given as argument to my_net_read_packet() sql/net_serv.cc: Added argument to my_real_read() to indicte if we are reading the first block of the next statement and should call performance schema. Added 'compatibilty function' my_net_read(). Added my_net_read_packet(), which is a new version of my_net_read() with a new parameter if we are doing a read for a new command from the server. sql/sql_class.cc: Removed m_server_idle (not needed anymore) sql/sql_class.h: Removed m_server_idle (not needed anymore) sql/sql_parse.cc: Removed m_server_idle (not needed anymore) tests/mysql_client_test.c: Added tests for compressed protocol and big packets
* | | MDEV-5995 MySQL Bug#12750920: EMBEDDED SERVER START/STOP.Alexey Botchkov2014-06-112-11/+175
| | | | | | | | | | | | | | | | | | Some variables weren't cleared properly so consequitive embedded server start/stop failed. Cleanups added. Also mysql_client_test.c extended to test that (taken from Mattias Johnson's patch)
* | | 5.5.38 mergeSergei Golubchik2014-06-061-0/+1
|\ \ \ | |/ /
| * | cmake: mark AIO_LIBRARY, EVENT_LIBRARY, GROFF, NROFF as advanced;Sergei Golubchik2014-06-031-0/+1
| | | | | | | | | | | | use -ggdb3 if supported
* | | 5.5 mergeSergei Golubchik2014-05-0912-0/+12
|\ \ \ | |/ /
| * | mysql-5.5.37 selective mergeSergei Golubchik2014-03-2712-0/+12
| |\ \ | | |/
| | * Updated/added copyright header. Added line "use is subject to license terms" Murthy Narkedimilli2014-02-1712-0/+12
| | | | | | | | | | | | | | | to copyright header.
* | | MDEV-5372 Make "CAST(time_expr AS DATETIME)" compatible with MySQL-5.6 (and ↵Alexander Barkov2014-03-071-3/+13
| | | | | | | | | | | | the SQL Standard)
* | | MDEV-4603 mysql_stmt_reset returns "commands out of sync" errorunknown2014-03-061-0/+104
| | |
* | | 10.0-base mergeSergei Golubchik2014-02-268-10/+18
|\ \ \