summaryrefslogtreecommitdiff
path: root/storage/tokudb
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-20076: SHOW GRANTS does not quote role names properlybb-10.3-MDEV-20076Oleksandr Byelkin2020-02-051-6/+6
| | | | Quotes added to output.
* Merge 10.2 into 10.3Marko Mäkelä2020-01-314-0/+257
|\
| * MDEV-14330: move tokudb manpages to right packagesVicențiu Ciorbaru2020-01-284-0/+257
| | | | | | | | | | | | | | | | | | Move tokuftdump and tokuft_logprint man pages to storage/tokudb. The man pages are now part of tokudb-engine cmake component. This change is mostly for RPM & DEB based packaging generated through CMake & CPack. Debian upstream already handles this change via the custom scripts in debian/
* | Merge branch '10.2' into 10.3Oleksandr Byelkin2020-01-242-11/+0
|\ \ | |/
| * Remove an unused tokuvalgrind scriptMarko Mäkelä2020-01-232-11/+0
| | | | | | | | | | | | | | | | This is the only symlink in the repository. Symlinks can cause trouble when using file systems or operating systems that do not support them. Also remove the unused file DartConfig.cmake that refers to the script.
* | Merge branch '10.2' into 10.3Oleksandr Byelkin2020-01-2127-111/+239
|\ \ | |/
| * Merge branch '10.1' into 10.2Oleksandr Byelkin2020-01-2027-111/+239
| |\
| | * Merge branch 'merge-tokudb-5.6' into 10.1Oleksandr Byelkin2020-01-1927-111/+239
| | |\
| | | * 5.6.46-86.2Oleksandr Byelkin2020-01-1928-112/+249
| | | |
| | * | fix a bad mergeSergei Golubchik2019-12-201-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in 10.1+ one should use MY_CHECK_AND_SET_COMPILER_FLAG("-Wno-address-of-packed-member") and it's already done in storage/tokudb/PerconaFT/CMakeLists.txt
| | * | Merge remote-tracking branch 'origin/5.5' into 10.1Alexander Barkov2019-12-161-0/+6
| | |\ \
| | | * | tokudb: disable check_huge_pages_in_practice()Sergei Golubchik2019-12-131-0/+1
| | | | | | | | | | | | | | | | | | | | crashes on Debian 10
| | | * | tokudb: fix to compile with gcc 9.2.0Sergei Golubchik2019-12-131-0/+6
| | | | |
* | | | | Lintian complains on spelling errorFaustin Lammler2019-12-022-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The lintian check complains on spelling error: https://salsa.debian.org/mariadb-team/mariadb-10.3/-/jobs/95739
* | | | | Merge branch '10.2' into 10.3Oleksandr Byelkin2019-10-3118-132/+231
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-10-3019-133/+232
| |\ \ \ \ | | |/ / /
| | * | | Merge branch 'merge-tokudb-5.6' into 10.1Oleksandr Byelkin2019-10-3019-133/+232
| | |\ \ \ | | | | |/ | | | |/|
| | | * | 5.6.45-86.1Oleksandr Byelkin2019-10-3019-134/+231
| | | | |
* | | | | Merge 10.2 into 10.3Marko Mäkelä2019-10-121-80/+88
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.1 into 10.2Marko Mäkelä2019-10-111-80/+88
| |\ \ \ \ | | |/ / /
| | * | | Merge 5.5 into 10.1Marko Mäkelä2019-10-111-80/+88
| | |\ \ \ | | | | |/ | | | |/|
| | | * | MDEV-14383 tokudb_bugs. tests failed in buildbot, lost connection to serverSergei Golubchik2019-09-016-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | don't run tokudb tests under tcmalloc, this is not a supported combination.
* | | | | Merge 10.2 into 10.3Marko Mäkelä2019-09-234-7/+7
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.1 into 10.2Marko Mäkelä2019-09-231-1/+1
| |\ \ \ \ | | |/ / /
| | * | | MDEV-18094: Query with order by limit picking index scan over filesortVarun Gupta2019-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the function test_if_cheaper_ordering we make a decision if using an index is better than using filesort for ordering. If we chose to do range access then in test_quick_select we should make sure that cost for table scan is set to DBL_MAX so that it is not picked.
| * | | | Merge 10.1 into 10.2Marko Mäkelä2019-09-183-6/+6
| |\ \ \ \ | | |/ / /
| | * | | Post fix after the patch for MDEV-20576.Igor Babaev2019-09-133-6/+6
| | | | | | | | | | | | | | | | | | | | Adjusted test results.
* | | | | Merge branch '10.2' into 10.3Monty2019-09-0320-24/+270
|\ \ \ \ \ | |/ / / /
| * | | | Updated mtr files to support different compiled in optionsMonty2019-09-0118-20/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Remove test that where only applicable for MySQLMonty2019-09-018-3997/+0
| | | | | | | | | | | | | | | | | | | | These was part of an incomplete old merge from MySQL 5.6
* | | | | Merge 10.2 into 10.3Marko Mäkelä2019-08-283-10/+10
|\ \ \ \ \ | |/ / / /
| * | | | MDEV-19925: Column ... cannot be converted from type 'varchar(20)' to type ↵Sujatha2019-08-273-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'varchar(20)' Cherry picking: Bug#25135304: RBR: WRONG FIELD LENGTH IN ERROR MESSAGE commit 47bd3f7cf3c8518f62b1580ec65af2ba7ac13b95 Description: ============ In row based replication, when replicating from a table with a field with character set set to UTF8mb3 to the same table with the same field set to character set UTF8mb4 I get a confusing error message: For VARCHAR: VARCHAR(1) 'utf8mb3' to VARCHAR(1) 'utf8mb4' "Column 0 of table 'test.t1' cannot be converted from type 'varchar(3)' to type 'varchar(1)'" Similar issue with CHAR type as well. Issue with respect to BLOB types: For BLOB: LONGBLOB to TINYBLOB - Error message displays incorrect blob type. "Column 0 of table 'test.t1' cannot be converted from type 'tinyblob' to type 'tinyblob'" For BINARY to BINARY - Error message displays incorrect type for master side field. "Column 0 of table 'test.t' cannot be converted from type 'char(1)' to type 'binary(10)'" Similar issue exists for VARBINARY type. It is displayed as 'VARCHAR'. Analysis: ========= In Row based replication charset information is not sent as part of metadata from master to slave. For VARCHAR field its character length is converted into equivalent octets/bytes and stored internally. At the time of displaying the data to user it is converted back to original character length. For example: VARCHAR(2)- utf8mb3 is stored as:2*3 = VARCHAR(6) At the time of displaying it to user VARCHAR(6)- charset utf8mb3:6/3= VARCHAR(2). At present the internally converted octect length is sent from master to slave with out providing the charset information. On slave side if the type conversion fails 'show_sql_type' function is used to get the type specific information from metadata. Since there is no charset information is available the filed type is displayed as VARCHAR(6). This results in confused error message. For CHAR fields CHAR(1)- utf8mb3 - CHAR(3) CHAR(1)- utf8mb4 - CHAR(4) 'show_sql_type' function which retrieves type information from metadata uses (bytes/local charset length) to get actual character length. If slave's chaset is 'utf8mb4' then CHAR(3/4)-->CHAR(0) CHAR(4/4)-->CHAR(1). This results in confused error message. Analysis for BLOB type issue: BLOB's length is represented in two forms. 1. Actual length i.e (length < 256) type= MYSQL_TYPE_TINY_BLOB; (length < 65536) type= MYSQL_TYPE_BLOB; ... 2. packlength - The number of bytes used to represent the length of the blob 1- tinyblob 2- blob ... In row based replication only the packlength is written in the binary log. On the slave side this packlength is interpreted as actual length of the blob. Hence the length is always < 256 and the type is displayed as tiny blob. Analysis for BINARY to BINARY type issue: The character set information is needed to identify a filed's type as char or binary. Since master side character set information is not available on the slave side both binary and char fields are displayed as char. Fix: === For CHAR and VARCHAR fields display their length in octets for both source and target fields. For target field display the charset information if it is relevant. For blob type changed the code to use the packlength and display appropriate blob type in error message. For binary and varbinary fields use the slave side character set as reference to map them to binary or varbinary fields.
* | | | | Merge branch '10.2' into 10.3Oleksandr Byelkin2019-07-2654-28/+346
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-07-2654-28/+346
| |\ \ \ \ | | |/ / /
| | * | | Merge branch 'merge-tokudb-5.6' into 10.1Oleksandr Byelkin2019-07-2654-28/+346
| | |\ \ \ | | | | |/ | | | |/|
| | | * | 5.6.44-86.0Oleksandr Byelkin2019-07-2654-23/+347
| | | | |
* | | | | cmake 3.14.3 warningsSergei Golubchik2019-07-121-1/+1
| | | | |
* | | | | Merge branch '10.2' into 10.3Oleksandr Byelkin2019-06-141-6/+2
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.1 into 10.2Marko Mäkelä2019-06-121-6/+2
| |\ \ \ \ | | |/ / /
| | * | | MDEV-15734 - calculation inside sizeof() warningSergey Vojtovich2019-05-301-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverted incorrect change introduced by 548d03d7. As result is char**, third qsort() parameter must be sizeof(char*). Not sizeof(result[0] + 2), which is same as sizeof(result[0]). Not even sizeof(result[0]) + 2, which would cause invalid memory access. Proper sorting is responsibility of logfilenamecompare() callback.
* | | | | Merge 10.2 into 10.3Marko Mäkelä2019-05-1415-19/+19
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.1 into 10.2Marko Mäkelä2019-05-1315-19/+19
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-1115-19/+19
| | |\ \ \ | | | | |/ | | | |/|
| | | * | Update FSF AddressVicențiu Ciorbaru2019-05-111039-1044/+1044
| | | | | | | | | | | | | | | | | | | | * Update wrong zip-code
* | | | | Merge branch '10.2' into 10.3Oleksandr Byelkin2019-05-1210-13/+111
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-05-0410-13/+111
| |\ \ \ \ | | |/ / /
| | * | | MDEV-19265 Server should throw warning if event is created and ↵Vladislav Vaintroub2019-04-281-0/+2
| | | | | | | | | | | | | | | | | | | | event_scheduler = OFF
| | * | | Merge branch 'merge-tokudb-5.6' into 10.1Sergei Golubchik2019-04-269-13/+109
| | |\ \ \ | | | | |/ | | | |/|
| | | * | 5.6.43-84.3Sergei Golubchik2019-04-2643-1088/+1888
| | | | |
* | | | | Merge 10.2 into 10.3Marko Mäkelä2019-04-031-2/+2
|\ \ \ \ \ | |/ / / /