summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Switch Perl DBI scripts from DBD::mysql to DBD::MariaDB driverbb-10.5-MDEV-18565Pali2019-07-1914-77/+77
| | | | | Perl DBD::MariaDB driver is available CPAN and is already used in production environment.
* MDEV-17592 Create MariaDB named commands/symlinksSergei Golubchik2019-06-171-3/+1
| | | | | | | | | | | | post-merge fixes: * .gitignore * don't put the keyword COMPONENT into ${COMP} anymore * don't alias mytop, but do alias mysql_client_test * don't symlink manpages, use troff aliasing technique instead (symlinked manpages break rpm and out-of-source bintar builds) * move debian to use troff aliased manpages, fix typos in debian files, put aliases in the correct packages, add more aliases to match rpm/bintar packaging
* Merge 10.3 into 10.4Marko Mäkelä2019-06-121-6/+24
|\
| * Merge 10.2 into 10.3Marko Mäkelä2019-06-111-6/+24
| |\
| | * Ensure that tests and programs can restore variablesMonty2019-06-031-6/+24
| | | | | | | | | | | | | | | | | | | | | - --default-character-set can now be disabled in mysqldump - --skip-resolve can be be disabled in mysqld - mysql_client_test now resets global variables it changes - mtr couldn't handle [mysqldump] in config files (wrong regexp used)
* | | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-05-1927-27/+48
|\ \ \ | |/ /
| * | Merge branch '10.2' into 10.3Sergei Golubchik2019-05-171-0/+21
| |\ \ | | |/
| | * MDEV-19490 show tables fails when selecting the information_schema databaseMonty2019-05-161-0/+21
| | | | | | | | | | | | | | | | | | | | | The bug was that when using mysql_list_fields, then table_list->schema_table_name was not filled in. Fixed by using table_list->schema_table instead, which is always filled in.
| * | Merge 10.2 into 10.3Marko Mäkelä2019-05-1427-27/+27
| |\ \ | | |/
| | * Merge 10.1 into 10.2Marko Mäkelä2019-05-1327-27/+27
| | |\
| | | * Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-1127-27/+27
| | | |\
| | | | * Update FSF AddressVicențiu Ciorbaru2019-05-1127-27/+27
| | | | | | | | | | | | | | | | | | | | * Update wrong zip-code
* | | | | Merge 10.3 into 10.4Marko Mäkelä2019-05-051-1/+61
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.2 into 10.3Marko Mäkelä2019-04-271-1/+61
| |\ \ \ \ | | |/ / /
| | * | | MDEV-17036: BULK with replace doesn't take the first parameter in accountOleksandr Byelkin2019-04-251-0/+61
| | | | | | | | | | | | | | | | | | | | INSERT and REPLACE served by the same function, so flags (and processing) should be the same.
* | | | | MDEV-19125 Change Send_field::type from enum_field_types to Type_handler*Alexander Barkov2019-04-021-0/+45
| | | | |
* | | | | Merge 10.3 into 10.4Marko Mäkelä2019-03-261-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.2 into 10.3Marko Mäkelä2019-03-261-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Merge 10.1 into 10.2Marko Mäkelä2019-03-261-1/+1
| | |\ \ \ | | | |/ /
| | | * | 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.3 into 10.4Marko Mäkelä2019-03-081-2/+22
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.2 into 10.3Marko Mäkelä2019-03-081-2/+2
| |\ \ \ \ \ | | |/ / / /
| | * | | | fix memory leaks in mysql_client_testSergei Golubchik2019-03-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes main.mysql_client_test, main.mysql_client_test_comp, main.mysql_client_test_nonblock failures in ASAN_OPTIONS="abort_on_error=1" runs
| * | | | | fix memory leaks in mysql_client_testSergei Golubchik2019-03-071-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes main.mysql_client_test, main.mysql_client_test_comp, main.mysql_client_test_nonblock failures in ASAN_OPTIONS="abort_on_error=1" runs
* | | | | | MDEV-18408 Assertion `0' failed in Item::val_native_result / ↵Alexander Barkov2019-02-251-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Timestamp_or_zero_datetime_native_null::Timestamp_or_zero_datetime_native_null upon mysqld_list_fields after crash recovery The problem happened because Item_ident_for_show did not implement val_native(). Solution: - Removing class Item_ident_for_show - Implementing a new method Protocol::send_list_fields() instead, which accepts a List<Field> instead of List<Item> as input. Now no any Item creation is done during mysqld_list_fields(). Adding helper methods, to reuse the code easier: - Moved a part of Protocol::send_result_set_metadata(), responsible for sending an individual field metadata, into a new method Protocol_text::store_field_metadata(). Reusing it in both send_list_fields() and send_result_set_metadata(). - Adding Protocol_text::store_field_metadata() - Adding Protocol_text::store_field_metadata_for_list_fields() Note, this patch also automatically fixed another bug: MDEV-18685 mysql_list_fields() returns DEFAULT 0 instead of DEFAULT NULL for view columns The reason for this bug was that Item_ident_for_show::val_xxx() and get_date() did not check field->is_null() before calling field->val_xxx()/get_date(). Now the default value is correctly sent by Protocol_text::store(Field*).
* | | | | | Merge branch '10.4' into bb-10.4-mdev16188Igor Babaev2019-02-031-1/+61
|\ \ \ \ \ \
| * \ \ \ \ \ Merge 10.3 into 10.4Marko Mäkelä2018-12-141-1/+61
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Merge 10.2 into 10.3Marko Mäkelä2018-12-141-1/+61
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | MDEV-16278: Missing DELETE operation in COM_STMT_BULK_STMTOleksandr Byelkin2018-12-141-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow array binding for DELETE, test it.
* | | | | | | MDEV-16188 Use in-memory PK filters built from range index scansIgor Babaev2019-02-031-2/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch contains a full implementation of the optimization that allows to use in-memory rowid / primary filters built for range   conditions over indexes. In many cases usage of such filters reduce   the number of disk seeks spent for fetching table rows. In this implementation the choice of what possible filter to be applied   (if any) is made purely on cost-based considerations. This implementation re-achitectured the partial implementation of the feature pushed by Galina Shalygina in the commit 8d5a11122c32f4d9eb87536886c6e893377bdd07. Besides this patch contains a better implementation of the generic   handler function handler::multi_range_read_info_const() that takes into account gaps between ranges when calculating the cost of range index scans. It also contains some corrections of the implementation of the handler function records_in_range() for MyISAM. This patch supports the feature for InnoDB and MyISAM.
* | | | | | Merge 10.3 into 10.4Marko Mäkelä2018-10-101-0/+15
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.2 into 10.3Marko Mäkelä2018-10-091-0/+15
| |\ \ \ \ \ | | |/ / / /
| | * | | | MDEV-14581 Server does not clear diagnostics between sessionsVladislav Vaintroub2018-10-051-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Amend previous patch, so it works in all cases (also for "change user" command, and for RESET CONNECTION in 10.3)
* | | | | | MDEV-16536 Remove shared memory transportVladislav Vaintroub2018-08-201-12/+0
|/ / / / /
* | | | | Merge 10.2 into 10.3Marko Mäkelä2018-05-171-2/+2
|\ \ \ \ \ | |/ / / /
| * | | | fix failing main.mysql_client_test test on 32bitSergei Golubchik2018-05-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in `ulonglong=ulong*uint` multiplication is done in ulong, wrapping around on 32bit. This became visible after C/C changed the default charset to utf8, thus changing mbmaxlem from 1 to 3.
* | | | | Removed even more warning that was found with -WunusedMonty2018-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed test if HA_FT_WTYPE == HA_KEYTYPE_FLOAT as this never worked (HA_KEYTYPE_FLOAT is an enum) - Define HA_FT_MAXLEN to 126 (was tested before but never defined)
* | | | | Fixed a compiler errorIgor Babaev2018-04-251-1/+2
| | | | |
* | | | | MDEV-11975: SQLCOM_PREPARE of EXPLAIN & ANALYZE statement do not return ↵Oleksandr Byelkin2018-04-251-0/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | correct metadata info Added metadate info after prepare EXPLAIN/ANALYZE.
* | | | | MDEV-15079: Parameter array operation inserts wrong values in autoincrement ↵Oleksandr Byelkin2018-04-251-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | field if indicator was specified test added (bug is fixed)
* | | | | Mdev-10664 Add statuses about optimistic parallel replication stallsSachin Setiya2018-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this commit we are adding three more status variable to SHOW SLAVE STATUS. Slave_DDL_Events and Slave_Non_Transactional_Events. Slave_DDL_Groups:- This status variable counts the occurrence of DDL statements Slave_Non_Transactional_Groups:- This variable count the occurrence of non-transnational event group. Slave_Transactional_Groups:- This variable count the occurrence of transnational event group. Patch Credit:- Kristian Nielsen
* | | | | Merge branch '10.2' into 10.3Sergei Golubchik2018-03-283-16/+7
|\ \ \ \ \ | |/ / / /
| * | | | After-merge fix for commit 98eb9518db1da854048b09d94244a982a1d32f9aMarko Mäkelä2018-03-163-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The merge only covered 10.1 up to commit 4d248974e00eb915a2fc433cc6b2fb5146281594. Actually merge the changes up to commit 0a534348c75cf435d2017959855de2efa798fd0b. Also, remove the unused InnoDB field trx_t::abort_type.
* | | | | MDEV-15501 : Make `proxy_protocol_networks` variable read-write.Vladislav Vaintroub2018-03-231-0/+12
| | | | |
* | | | | Make possible to use clang on Windows (clang-cl)Vladislav Vaintroub2018-02-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -DWITH_ASAN can be used as well now, on x64 Fix many clang-cl warnings.
* | | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2018-02-191-0/+114
|\ \ \ \ \
| * \ \ \ \ Merge remote-tracking branch 'origin/10.2' into bb-10.2-extAlexander Barkov2018-02-161-0/+114
| |\ \ \ \ \ | | |/ / / /