Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
tests: removes the emoji from a test database name (#179)
Browse files Browse the repository at this point in the history
The character is too exotic and breaks TiDB and some old git.
  • Loading branch information
kennytm committed May 8, 2019
1 parent ec30c02 commit 597d236
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions tests/exotic_filenames/data/中文庫-schema-create.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
create database `中文庫`;

This file was deleted.

4 changes: 2 additions & 2 deletions tests/exotic_filenames/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
set -eu

run_sql 'DROP DATABASE IF EXISTS `x``f"n`;'
run_sql 'DROP DATABASE IF EXISTS `中文庫🥳`;'
run_sql 'DROP DATABASE IF EXISTS `中文庫`;'
run_lightning
echo 'Import finished'

Expand All @@ -33,5 +33,5 @@ run_sql 'SELECT _tidb_rowid > 80000, b > 80000 FROM `x``f"n`.`exotic``table````n
check_contains '_tidb_rowid > 80000: 1'
check_contains 'b > 80000: 1'

run_sql 'SELECT * FROM `中文庫🥳`.中文表'
run_sql 'SELECT * FROM `中文庫`.中文表'
check_contains 'a: 2345'

0 comments on commit 597d236

Please sign in to comment.