summaryrefslogtreecommitdiff
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-17832 Protocol: extensions for Pluggable types and JSON, GEOMETRYAlexander Barkov2020-03-104-2/+80
|
* MDEV-10047: table-based master info repositorySujatha2020-03-101-1/+60
| | | | | | | | | | | | | | Problem: ======= When we upgrade from "mysql" to "mariadb" if slave is using repositories as tables their data is completely ignored and no warning is issued in error log. Fix: === "mysql_upgrade" test should check for the presence of data in "mysql.slave_master_info" and "mysql.slave_relay_log_info" tables. When tables have some data the upgrade script should report a warning which hints users that the data in repository tables will be ignored.
* MDEV-21581 Helper functions and methods for CHARSET_INFOAlexander Barkov2020-01-284-29/+27
|
* mysqltest crashes on DebianSergei Golubchik2020-01-161-1/+1
| | | | | | | | | | | | Debian is apparently offended that pcre2-posix implements POSIX API, thus it renames all posix-compatible symbols in libpcre2-posix to have the PCRE2 prefix. But Debian doesn't do anything to pcre2posix.h header, so any unaware application will get POSIX compatible type names and function prototypes from pcre2, but actual symbols will come from libc. To remedy this enormous incongruity we have to redefine POSIX-compatible function names in pcre2posix to match Debian's hack.
* MDEV-14024 PCRE2.Alexey Botchkov2019-12-212-3/+3
| | | | Related changes in the server code.
* Merge 10.4 into 10.5Marko Mäkelä2019-12-162-5/+5
|\
| * Merge branch '10.3' into 10.4Oleksandr Byelkin2019-12-092-5/+5
| |\
| | * Merge branch '10.2' into 10.3Oleksandr Byelkin2019-12-041-3/+3
| | |\
| | | * Merge branch '10.1' into 10.2Oleksandr Byelkin2019-12-031-3/+3
| | | |\
| | | | * Merge branch '5.5' into 10.1Oleksandr Byelkin2019-12-031-3/+3
| | | | |\
| | | | | * Fixed some typos in mysql.ccHashir Sarwar2019-11-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Closes #1403
| | | | * | Merge branch '5.5' into 10.1Oleksandr Byelkin2019-10-301-11/+2
| | | | |\ \ | | | | | |/
| | | | | * Revert "MDEV-14448: Ctrl-C should not exit the client"mariadb-5.5.66Sergei Golubchik2019-10-301-13/+2
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 396313d301b3567aeadd04ae6a9322da2adc0a8b.
| | | | | * compilation fix for Windowsbb-5.5-releaseSergei Golubchik2019-10-301-0/+2
| | | | | |
| | | | * | Merge 5.5 into 10.1Eugene Kosov2019-10-291-2/+11
| | | | |\ \ | | | | | |/
| | | | | * MDEV-14448: Ctrl-C should not exit the clientAnel Husakovic2019-10-281-2/+11
| | | | | |
| | * | | | Lintian complains on spelling errorFaustin Lammler2019-12-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lintian check complains on spelling error: https://salsa.debian.org/mariadb-team/mariadb-10.3/-/jobs/95739
* | | | | | A cleanup for MDEV-17088 Provide tools to encode/decode mysql-encoded file ↵Alexander Barkov2019-12-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | system names tests mariadb-conv-utf8 and mariadb-conv-cp932 failed on PPC, because "char" is "unsigned char" on PPC. Adding a cast from "char" to "signed char" in the two affected places.
* | | | | | A cleanup for MDEV-17088 Provide tools to encode/decode mysql-encoded file ↵Alexander Barkov2019-12-052-46/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | system names - Load and convert the entire input file at once, rather than reading string-by-string using fgets(). This change makes it possible to convert from UCS2, UTF16, UTF32 data. - Adding the --delimiter command, to treat the specified characters as delimiters rather than data to convert. Useful in combination with `-f filename` or `-t filename`. The delimiter characters are not converted, they are copied from the input to the output as is. - Adding diagnostics with line number and position if: * an illegal input byte sequence was found * a character cannot be converted to the target character set
* | | | | | MDEV-17088 - fix overlinkingVladislav Vaintroub2019-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mariadb-conv does not need to be linked with the client library it does not talk to the server
* | | | | | MDEV-17088 Provide tools to encode/decode mysql-encoded file system namesAlexander Barkov2019-11-282-0/+212
| | | | | | | | | | | | | | | | | | | | | | | | The original patch was made by Takashi Sasaki <tsasaki609@gmail.com>.
* | | | | | MDEV-21062 Do not use popen() in text mode for mysql_upgrade.Vladislav Vaintroub2019-11-221-1/+10
| | | | | |
* | | | | | Merge 10.4 into 10.5Marko Mäkelä2019-11-192-13/+5
|\ \ \ \ \ \ | |/ / / / /
| * | | | | MDEV-21062 Buildbot, Windows - sporadically missing lines from mtr's "exec"Vladislav Vaintroub2019-11-152-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide own version of popen/pclose, in attempt to workaround sporadic erratic behavior of UCRT's one.
| * | | | | Merge 10.3 into 10.4Marko Mäkelä2019-10-101-1/+1
| |\ \ \ \ \ | | |/ / / /
| | * | | | Cast string literal to char* MDEV-20767Seth Shelnutt2019-10-091-1/+1
| | | | | |
* | | | | | MDEV-12684 Show what config file a sysvar got a value fromSergei Golubchik2019-10-1411-36/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change get_one_option() prototype to pass the filename and not to pass the redundant optid.
* | | | | | Merge remote-tracking branch 'origin/10.4' into 10.5Alexander Barkov2019-09-241-1/+1
|\ \ \ \ \ \ | |/ / / / /
* | | | | | Merge 10.4 into 10.5Marko Mäkelä2019-09-241-2/+5
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.3 into 10.4Marko Mäkelä2019-09-231-2/+5
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | Disable MDEV-20576 assertions until MDEV-20595 has been fixed.
| | * | | | Merge 10.2 into 10.3Marko Mäkelä2019-09-231-2/+5
| | |\ \ \ \ | | | |/ / /
| | | * | | Enable the auto parameter of the flag `default-character-set`Anel Husakovic2019-09-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #739 When invoking option `--default-character-set=auto` character set from underlying OS settings should be detected for mysqldump.
* | | | | | MDEV-20477 Merge binlog extended metadata support from the upstreamSachin2019-09-112-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-pick the commits the mysql and some changes. WL#4618 RBR: extended table metadata in the binary log This patch extends Table Map Event. It appends some new fields for more metadata. The new metadata includes: - Signedness of Numberic Columns - Character Set of Character Columns and Binary Columns - Column Name - String Value of SET Columns - String Value of ENUM Columns - Primary Key - Character Set of SET Columns and ENUM Columns - Geometry Type Some of them are optional, the patch introduces a GLOBAL system variable to control it. It is binlog_row_metadata. - Scope: GLOBAL - Dynamic: Yes - Type: ENUM - Values: {NO_LOG, MINIMAL, FULL} - Default: NO_LOG Only Signedness, character set and geometry type are logged if it is MINIMAL. Otherwise all of them are logged. Also add a binlog_type_info() to field, So that we can have extract relevant binlog info from field.
* | | | | | Merge 10.4 into 10.5Marko Mäkelä2019-09-061-1/+2
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.3 into 10.4, except for MDEV-20265Marko Mäkelä2019-08-231-1/+2
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MDEV-20265 commit e746f451d57def4be679caafc29976741b3e89f7 introduces DBUG_ASSERT(right_op == r_tbl) in st_select_lex::add_cross_joined_table(), and that assertion would fail in several tests that exercise joins. That commit was skipped in this merge, and a separate fix of MDEV-20265 will be necessary in 10.4.
| | * | | | Merge 10.2 into 10.3Marko Mäkelä2019-08-211-1/+2
| | |\ \ \ \ | | | |/ / /
| | | * | | MDEV-20377: Fix uninitialized memory in mysqltestMarko Mäkelä2019-08-191-1/+2
| | | | | |
| | | * | | Fixed issues found by valgrindMonty2019-08-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - mysqltest didn't free read_command_buf - wait_for_slave_param did write different things to the log if valgrind was used. - Table open cache should not write the initial variable value as it can depend on the configuration or if valgrind is used - A variable in GetResult was used uninitalized
* | | | | | Fixed issues when running mtr with --valgrindMonty2019-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Note that some issues was also fixed in 10.2 and 10.4. I also fixed them here to be able to continue with making 10.5 valgrind safe again - Disable connection threads warnings when doing shutdown
* | | | | | Merge 10.4 into 10.5Marko Mäkelä2019-08-161-4/+5
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.3 into 10.4Marko Mäkelä2019-08-141-4/+5
| |\ \ \ \ \ | | |/ / / /
| | * | | | MDEV-17609 mysql client sets wrong application name for Readline libraryAleksey Midenkov2019-08-111-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | initialize_readline() is called with full pathname of executable which sets rl_readline_name to that value. It is expected that rl_readline_name is initialized with static name not depending on the file name at all. Needed for setting custom hotkeys in .inputrc
* | | | | | Merge 10.4 into 10.5Marko Mäkelä2019-08-1310-12/+32
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.3 into 10.4Marko Mäkelä2019-07-251-0/+1
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge 10.2 into 10.3Marko Mäkelä2019-07-191-0/+1
| | |\ \ \ \ | | | |/ / /
| | | * | | Merge 10.1 into 10.2Marko Mäkelä2019-07-181-0/+1
| | | |\ \ \ | | | | |/ /
| | | | * | imporve clang buildEugene Kosov2019-06-252-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug Maintainer mode makes all warnings errors. This patch fix warnings. Mostly about deprecated `register` keyword. Too much warnings came from Mroonga and I gave up on it.
| * | | | | Fixed that mariadb-# binaries reads their corresponding entry from my.cnfMonty2019-07-1810-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added mariadb-# to load_default_groups to all mariadb-# scripts and mariadb-binaries. - Added mariadbd and mariadbd-"version" to load_default_groups for the mysqld/mariadb server - Added mariadb-client to load_default_groups for the mysql/mariadb client Other things - Ignored mysql-test/lib/My/SafeProcess/wsrep_check_version - mysql_install_db will now automatically detect if run from srcdir
| * | | | | Merge 10.3 into 10.4Marko Mäkelä2019-07-021-1/+9
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge 10.2 into 10.3Marko Mäkelä2019-07-021-1/+9
| | |\ \ \ \ | | | |/ / /