Skip to content

Commit 5923714

Browse files
committed
chore: codefmt
1 parent 6130477 commit 5923714

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

tests/suites/0_stateless/02_ddl/02_0001_show_create_table.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ tc CREATE TABLE tc (
108108
create or replace table test.auto_increment(c1 int, c2 int autoincrement);
109109

110110
>>>> show create table test.auto_increment;
111-
auto_increment CREATE TABLE auto_increment (
111+
auto_increment CREATE TABLE auto_increment (
112112
c1 INT NULL,
113113
c2 INT NULL AUTOINCREMENT (0, 1) ORDER,
114114
c3 INT NULL IDENTITY (2, 3) ORDER

tests/suites/0_stateless/12_time_travel/12_0002_time_travel_show.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ t yyyy-mm-dd HH:MM:SS.ssssss
66
1 1 yyyy-mm-dd HH:MM:SS.ssssss yyyy-mm-dd HH:MM:SS.ssssss NULL
77
1 1 yyyy-mm-dd HH:MM:SS.ssssss yyyy-mm-dd HH:MM:SS.ssssss NULL
88
1 1 yyyy-mm-dd HH:MM:SS.ssssss yyyy-mm-dd HH:MM:SS.ssssss NULL
9+
seq 1 1 yyyy-mm-dd HH:MM:SS.ssssss yyyy-mm-dd HH:MM:SS.ssssss NULL

tests/suites/0_stateless/12_time_travel/12_0002_time_travel_show.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ DROP SEQUENCE if exists seq;
1717
DROP SEQUENCE if exists seq1;
1818
CREATE SEQUENCE seq;
1919
CREATE SEQUENCE seq1;
20-
select interval, current, comment from show_sequences();
20+
select interval, current, created_on, updated_on, comment from show_sequences();
2121
desc sequence seq;
2222
DROP SEQUENCE if exists seq;
2323
DROP SEQUENCE if exists seq1;

tests/suites/0_stateless/18_rbac/18_0016_seq_rbac.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ export USER_A_CONNECT="bendsql --user=a --password=123 --host=${QUERY_MYSQL_HAND
88
export USER_B_CONNECT="bendsql --user=b --password=123 --host=${QUERY_MYSQL_HANDLER_HOST} --port ${QUERY_HTTP_HANDLER_PORT}"
99
export USER_C_CONNECT="bendsql --user=c --password=123 --host=${QUERY_MYSQL_HANDLER_HOST} --port ${QUERY_HTTP_HANDLER_PORT}"
1010

11+
for seq in $(echo "select name from show_sequences();" | $BENDSQL_CLIENT_CONNECT); do
12+
echo "=== clean exists sequence: $seq ==="
13+
echo "drop sequence if exists $seq;" | $BENDSQL_CLIENT_CONNECT
14+
done
15+
1116
echo "=== OLD LOGIC: user has super privileges can operator all sequences with enable_experimental_sequence_privilege_check=0 ==="
1217
echo "=== TEST USER A WITH SUPER PRIVILEGES ==="
1318
echo "set global enable_experimental_sequence_privilege_check=0;" | $BENDSQL_CLIENT_CONNECT

0 commit comments

Comments
 (0)