зеркало из https://github.com/github/vitess-gh.git
fix common select script to work for both local and operator examples
Signed-off-by: deepthi <deepthi@planetscale.com>
This commit is contained in:
Родитель
e259a08f01
Коммит
b9fa613f15
|
@ -1,5 +1,5 @@
|
|||
\! echo 'Using commerce/0'
|
||||
use commerce/0;
|
||||
\! echo 'Using commerce'
|
||||
use commerce;
|
||||
\! echo 'Customer'
|
||||
select * from customer;
|
||||
\! echo 'Product'
|
||||
|
|
|
@ -14,7 +14,7 @@ vtctlclient ApplyVSchema -vschema="$(cat vschema_commerce_initial.json)" commerc
|
|||
|
||||
# Insert and verify data
|
||||
mysql < ../common/insert_commerce_data.sql
|
||||
mysql --table < select_commerce_data.sql
|
||||
mysql --table < ../common/select_commerce_data.sql
|
||||
|
||||
# Bring up customer keyspace
|
||||
kubectl apply -f 201_customer_tablets.yaml
|
||||
|
|
Загрузка…
Ссылка в новой задаче