mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02: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:
parent
20eac04d7c
commit
6be53b81ec
2 changed files with 3 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ eval CREATE TABLE t1(a INT) ENGINE=FEDERATED
|
|||
SELECT * FROM t1;
|
||||
|
||||
--echo # Start a asynchronous reload
|
||||
--exec $MYSQLADMIN --no-defaults -S $MASTER_MYSOCK -P $MASTER_MYPORT -u root --password= refresh 2>&1
|
||||
--exec $MYSQLADMIN --no-defaults --default-character-set=latin1 -S $MASTER_MYSOCK -P $MASTER_MYPORT -u root --password= refresh 2>&1
|
||||
|
||||
--echo # Wait for tables to be closed
|
||||
let $show_statement= SHOW STATUS LIKE 'Open_tables';
|
||||
|
|
|
|||
|
|
@ -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%')`)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue