Fix 02160_client_autocomplete_parse_query

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
Azat Khuzhin 2023-02-26 12:02:27 +01:00
parent 05b50a1964
commit 584f9d5e8f

View File

@ -44,9 +44,8 @@ expect ":) "
# Generate UIUD to avoid matching old database/tables/columns from previous test runs. # Generate UIUD to avoid matching old database/tables/columns from previous test runs.
send -- "select 'begin-' || replace(toString(generateUUIDv4()), '-', '') || '-end' format TSV\r" send -- "select 'begin-' || replace(toString(generateUUIDv4()), '-', '') || '-end' format TSV\r"
expect -re TSV.*TSV.*begin-(.*)-end.* expect -re "TSV.*TSV.*begin-(.*)-end.*:\\) "
set uuid $expect_out(1,string) set uuid $expect_out(1,string)
expect ":) "
# CREATE DATABASE # CREATE DATABASE
send -- "create database new_${uuid}_database\r" send -- "create database new_${uuid}_database\r"