Skip to content

Commit fb68f77

Browse files
author
Priyanka Sangam
committed
Fix ndb_restore_conv_more mtr failure on Ubuntu. Grep
incorrectly detects input as binary file due to UTF-8 characters. Command returns "Binary file(standard input) matches" instead of matching rows. Modified grep command to always treat input as text, not binary.
1 parent 71c390b commit fb68f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql-test/suite/ndb/t/ndb_restore_conv_more.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ create table text2text(id int primary key, val tinytext character set utf8)engin
601601
--exec $NDB_RESTORE --no-defaults -b $the_backup_id -n 2 -r --promote-attributes --lossy-conversions $NDB_BACKUPS-$the_backup_id >> $NDB_TOOLS_OUTPUT
602602

603603
--echo # run ndb_select_all to see charset-aware truncation in ndb
604-
--exec $NDB_SELECT_ALL -d test text2text | grep "11111"
604+
--exec $NDB_SELECT_ALL -d test text2text | grep --text "11111"
605605

606606
--echo # run mysql select to see charset-aware truncation in mysqld
607607
--echo # truncation in pk-based read

0 commit comments

Comments
 (0)