summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | MDEV-18468 fixup: Make test case robust w.r.t. deferred DROP TABLEMarko Mäkelä2021-02-122-4/+19
| | |
* | | MDEV-19950: Galera test failure on galera_ssl_upgradeJulius Goryavsky2021-02-116-14/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test requires adaptation for MariaDB, which is done in this patch. In addition, this patch includes a fix for the SST script startup code that adds escaping for special characters on the command line (in case they are contained in the arguments to mysqld). The fix does not require separate tests, as the required tests are already part of the mtr suite for Galera.
* | | Update Galera disabled.defJan Lindström2021-02-112-0/+3
| | |
* | | MDEV-24790 CAST('0e1111111111' AS DECIMAL(38,0)) returns a wrong resultAlexander Barkov2021-02-085-20/+198
| | |
* | | Make innodb_gis.rtree_purge run fasterMarko Mäkelä2021-02-071-4/+2
| | | | | | | | | | | | | | | | | | | | | A locking SELECT from an InnoDB table is very slow especially in debug builds. Replacing some INSERT...SELECT should not reduce the test coverage, because the test will still do DELETE (which will acquire explicit record locks).
* | | MDEV-22741: *SAN: ERROR: AddressSanitizer: use-after-poison on address in ↵Sujatha2021-02-033-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instrings/strmake.c:36 from change_master (on optimized builds) Problem: ======== CHANGE MASTER TO MASTER_USER='root', MASTER_SSL=0, MASTER_SSL_CA='', MASTER_SSL_CERT='', MASTER_SSL_KEY='', MASTER_SSL_CRL='', MASTER_SSL_CRLPATH=''; CHANGE MASTER TO MASTER_USER='root', MASTER_PASSWORD='', MASTER_SSL=0; use-after-poison is reported for lex_mi->ssl_crl File: sql_repl.cc if (lex_mi->ssl_crl) strmake_buf(mi->ssl_crl, lex_mi->ssl_crl); Analysis: ======== At the end of CHANGE MASTER statement execution, the LEX_MASTER_INFO parameters are reset so that the next query will have a clean state. But 'ssl_crl' and 'ssl_crl_path' members of LEX_MASTER_INFO object are not cleared during 'LEX_MASTER_INFO::reset'. Hence when a new CHANGE MASTER statement is executed, the stale value of lex_mi->ssl_crl is used, so ASAN reports use-after-poison. Fix: === Clear 'ssl_crl' and 'ssl_crl_path' as part of 'reset'.
* | | MDEV-24762 - HeidiSQL 11.2Vladislav Vaintroub2021-02-021-1/+1
| | |
* | | Updating test results in rocksdb test suite after MDEV-11172 is fixedVarun Gupta2021-02-013-5/+5
| | |
* | | MDEV-23449: alias do not exist and a query do not report an errorVarun Gupta2021-01-313-16/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For an IN/ANY/ALL subquery without an aggregate function and HAVING clause, the GROUP BY clause is removed. Due to the GROUP BY list being removed, the invalid reference in the GROUP BY clause was never resolved. Remove the GROUP BY list only when the all the items in the GROUP BY list are resolved. Also removing the GROUP BY list later would not affect the extension that allows using non-aggregated field in an aggregate function (when ONLY_FULL_GROUP_BY is not set) because the GROUP BY list is removed only when their is NO aggregate function in IN/ALL/ANY subquery.
* | | MDEV-22583: Selectivity for BIT columns in filtered column for EXPLAIN is ↵Varun Gupta2021-01-304-8/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | incorrect For BIT columns when EITS is collected, we store the integral value in text representation in the min and max fields of the statistical table When this value is retrieved from the statistical table to original table field then we try to store the text representation in the original field which is INCORRECT. The value that is retrieved should be converted to integral type and that value should be stored back in the original field. This would get us the correct estimate for selectivity of the predicate.
* | | MDEV-11172: EXPLAIN shows non-sensical value for key_len with type=indexVarun Gupta2021-01-305-4/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue happens when the secondary keys are extended with primary key parts. Inside the function TABLE_SHARE::init_from_binary_frm_image() adds the length bytes for the primary key key parts to the length of the secondary key. This is not needed because when the extended keys are used we recalculate the length for the used key parts. Also removed TABLE_SHARE::total_key_length as it is not used in the code Apporved-by: Monty <monty@mariadb.org>
* | | Skip TokuDB within autobake-deb.shVicențiu Ciorbaru2021-01-292-5/+6
| | | | | | | | | | | | | | | | | | Skipping the package within debian/rules won't work because starting with Debian 10, the helper scripts read the control file before the recipe.
* | | List of unstable tests for 10.2.37 releaseElena Stepanova2021-01-291-183/+111
|/ / | | | | | | | | | | Test code modifications and new failures from buildbot only registered for the main suite. The rest was updated partially, based on the status of existing JIRA items
* | fix of warning on windowsOleksandr Byelkin2021-01-292-2/+2
| |
* | Fix of warnings on aarch64 like:Oleksandr Byelkin2021-01-292-5/+5
| | | | | | | | | | | | | | bson.cpp:1775:3: error: case label value is less than minimum value for type [-Werror] case TYPE_NULL: bson.cpp:1776:7: error: statement will never be executed [-Werror=switch-unreachable] b = true;
* | fix warnings returned by gcc v10.0Oleksandr Byelkin2021-01-295-9/+12
| |
* | Merge remote-tracking branch 'connect/10.2' 10.2Oleksandr Byelkin2021-01-2994-2184/+18357
|\ \ | |/
| * Fix some Json and Bson bugsOlivier Bertrand2021-01-204-6/+29
| |
| * Fix failed testOlivier Bertrand2021-01-132-0/+4
| |
| * Fix failed testOlivier Bertrand2021-01-122-4/+0
| |
| * - Remove static linkage to cpprestsdk when it is installedOlivier Bertrand2021-01-129-72/+1327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: storage/connect/CMakeLists.txt - Continue BSON development modified: storage/connect/bson.cpp modified: storage/connect/bson.h modified: storage/connect/bsonudf.cpp modified: storage/connect/bsonudf.h added: storage/connect/mysql-test/connect/r/bson_udf.result added: storage/connect/mysql-test/connect/t/bson_udf.inc added: storage/connect/mysql-test/connect/t/bson_udf.test added: storage/connect/mysql-test/connect/t/bson_udf2.inc
| * Re-include BSON into CMakeLists.txtOlivier Bertrand2021-01-101-0/+13
| |
| * Remove changes to CMakeLists.txt that cause compile errorOlivier Bertrand2021-01-101-25/+6
| |
| * - add the test on RESTOlivier Bertrand2021-01-104-7/+66
| |
| * - Add the new BSON temporary type for testingOlivier Bertrand2021-01-0821-425/+4226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: storage/connect/CMakeLists.txt modified: storage/connect/bson.cpp modified: storage/connect/bson.h modified: storage/connect/bsonudf.cpp modified: storage/connect/bsonudf.h modified: storage/connect/global.h modified: storage/connect/json.cpp modified: storage/connect/jsonudf.cpp modified: storage/connect/mysql-test/connect/disabled.def modified: storage/connect/mysql-test/connect/t/mongo_test.inc modified: storage/connect/plugutil.cpp modified: storage/connect/tabbson.cpp modified: storage/connect/tabjson.cpp
| * - Fix jfile_convert crash on error. modified: jsonudf.cpp (plus BSON UDF's)Olivier Bertrand2020-12-316-152/+2861
| |
| * - Continue BSON implementation + fix create modified ha_connect.ccOlivier Bertrand2020-12-265-125/+132
| |
| * Make REST tables default file name. Commit before continuing BSON developmentOlivier Bertrand2020-12-226-32/+57
| |
| * - Fix json parser (void objects not recognized) modified: json.cppOlivier Bertrand2020-12-182-12/+15
| |
| * - Fix crash with JsonContains UDF + BSON developmentOlivier Bertrand2020-12-174-25/+17
| |
| * - Fix pretty=2 Tabjson bug on INSERT.Olivier Bertrand2020-12-1510-908/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Occuring when inserting more than one line in one statement. modified: storage/connect/json.cpp - Fix a wrong if statement modified: storage/connect/tabjson.cpp - Continue BSON implementation modified: storage/connect/bson.cpp modified: storage/connect/bson.h modified: storage/connect/filamtxt.cpp modified: storage/connect/filamtxt.h modified: storage/connect/tabbson.cpp modified: storage/connect/tabbson.h - No need anymore deleted: storage/connect/mysql-test/connect/r/bson.result deleted: storage/connect/mysql-test/connect/t/bson.test
| * BSON developmentOlivier Bertrand2020-12-116-103/+249
| |
| * - Fix json_bjson (s was erase by Json_Subset)Olivier Bertrand2020-12-0912-614/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: storage/connect/jsonudf.cpp modified: storage/connect/jsonudf.h - Fix compile error (Force_Bson was not conditional by BSON_SUPPORT) modified: storage/connect/ha_connect.cc - Continue Bjson implementation modified: storage/connect/block.h modified: storage/connect/bson.cpp modified: storage/connect/bson.h modified: storage/connect/bsonudf.cpp modified: storage/connect/bsonudf.h modified: storage/connect/plugutil.cpp modified: storage/connect/tabbson.cpp modified: storage/connect/tabjson.cpp - Typo deleted: storage/connect/Header.h
| * - Continue BSON implementationOlivier Bertrand2020-12-0814-99/+1033
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: storage/connect/bson.cpp modified: storage/connect/bson.h modified: storage/connect/bsonudf.cpp modified: storage/connect/cmgfam.cpp modified: storage/connect/cmgfam.h modified: storage/connect/ha_connect.cc modified: storage/connect/jmgfam.cpp modified: storage/connect/jmgfam.h modified: storage/connect/jmgoconn.cpp modified: storage/connect/mycat.cc modified: storage/connect/tabbson.cpp modified: storage/connect/tabjson.cpp
| * Remove a push warning causing failing assert. Modified ↵Olivier Bertrand2020-12-0410-570/+400
| | | | | | | | storage/connect/filamap.cpp
| * Fix failed compile modified storage/connect/ha_connect.ccOlivier Bertrand2020-12-021-1/+2
| |
| * Fix failed compile modified storage/connect/ha_connect.cc and mycat.ccOlivier Bertrand2020-12-012-12/+12
| |
| * - Fix memory leak for the JSON table typeOlivier Bertrand2020-12-0116-181/+3214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (and continue BSON implementatio) modified: storage/connect/bson.cpp modified: storage/connect/bson.h modified: storage/connect/bsonudf.cpp modified: storage/connect/connect.cc modified: storage/connect/global.h modified: storage/connect/ha_connect.cc modified: storage/connect/jsonudf.cpp modified: storage/connect/mycat.cc modified: storage/connect/plgdbsem.h modified: storage/connect/plugutil.cpp modified: storage/connect/tabjson.cpp modified: storage/connect/tabjson.h modified: storage/connect/user_connect.cc - Desesperatly trying to fix xml.test failure modified: storage/connect/mysql-test/connect/r/xml.result
| * - Begin implementation of BSONOlivier Bertrand2020-11-275-125/+361
| | | | | | | | | | | | | | | | modified: storage/connect/bson.cpp modified: storage/connect/bson.h modified: storage/connect/bsonudf.cpp modified: storage/connect/bsonudf.h modified: storage/connect/jsonudf.cpp
| * Desesperatly trying to stop compiling failuresOlivier Bertrand2020-11-257-1596/+1655
| |
| * Remove based enum not accepted by most gcc compilersOlivier Bertrand2020-11-257-568/+2270
| |
| * Fix xml.test failure. Fix compile error modified json.hOlivier Bertrand2020-11-213-92/+95
| |
| * Fix some test failureOlivier Bertrand2020-11-2110-33/+2323
| |
| * Fix compile error. Modified json.cppOlivier Bertrand2020-11-201-1/+1
| |
| * delete bld2Olivier Bertrand2020-11-200-0/+0
| |
| * ???Olivier Bertrand2020-11-201-0/+1
| |
| * Fix some json discovery problems. Modified tabjson.cpp tabjson.hOlivier Bertrand2020-11-192-7/+27
| |
| * remove large fileOlivier Bertrand2020-11-180-0/+0
| |
| * Commit new source and all recent changes.Olivier Bertrand2020-11-182072-31214/+68466
| |\
| * | Change cURL option from > to -o. modified storage/connect/tabrest.cppOlivier Bertrand2020-11-141-3/+3
| | |