mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
A postfix for WL#1349.
Fixed problems: - "mtr --mem mysql_locale_posix" could fail because of wrong temporary directory name: var/tmp/ -> $MYSQLTEST_VARDIR/tmp/ - "mtr federated_debug" could fail because of not compiled-in locale character set. Always run mysqladmin with latin1.
This commit is contained in:
@ -18,11 +18,11 @@
|
||||
#
|
||||
|
||||
--disable_query_log
|
||||
--exec locale -a > var/tmp/locale_a.output 2>/dev/null || true
|
||||
--exec locale -a > $MYSQLTEST_VARDIR/tmp/locale_a.output 2>/dev/null || true
|
||||
SET @file=REPLACE(LOAD_FILE('../../tmp/locale_a.output'), '-', '');
|
||||
# make it case insensitive
|
||||
SET @file=CAST(@file AS CHAR CHARACTER SET latin1) COLLATE latin1_swedish_ci;
|
||||
--remove_file var/tmp/locale_a.output
|
||||
--remove_file $MYSQLTEST_VARDIR/tmp/locale_a.output
|
||||
|
||||
if (`SELECT (IFNULL(@file,'') NOT LIKE '%\nde_DE.iso88591\n%')`)
|
||||
{
|
||||
|
Reference in New Issue
Block a user