-
Notifications
You must be signed in to change notification settings - Fork 751
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): fix internal test reduce bendsql warn
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
#!/bin/bash | ||
# Used to test internal | ||
|
||
echo "drop database if exists test" | bendsql -uroot | ||
echo "drop database if exists test2" | bendsql -uroot | ||
echo "create database test" | bendsql -uroot | ||
echo "drop database if exists test" | bendsql | ||
echo "drop database if exists test2" | bendsql | ||
echo "create database test" | bendsql | ||
for((i=1;i<=10000;i++)); | ||
do | ||
echo "create table if not exists test.t_$i(id int comment 'tes\t', c2 string comment 'c2comment')" | bendsql -uroot | ||
echo "create table if not exists test.t_$i(id int comment 'tes\t', c2 string comment 'c2comment')" | bendsql | ||
done | ||
|
||
echo "create database test2" | bendsql -uroot | ||
echo "create database test2" | bendsql | ||
for((i=1;i<=1000;i++)); | ||
do | ||
echo "create table if not exists test2.t_$i(id int comment 'tes\t', c2 string comment 'c2comment')" | bendsql -uroot | ||
echo "create table if not exists test2.t_$i(id int comment 'tes\t', c2 string comment 'c2comment')" | bendsql | ||
done |