Skip to content

Commit

Permalink
Update TestSelectDBA
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed Jun 19, 2024
1 parent 121d127 commit ae6c966
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/vtgate/executor_select_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func TestSelectDBA(t *testing.T) {
query, map[string]*querypb.BindVariable{},
)
require.NoError(t, err)
wantQueries = []*querypb.BoundQuery{{Sql: "select count(*) from INFORMATION_SCHEMA.`TABLES` as ist where ist.table_schema = :__vtschemaname and ist.table_name = :ist_table_name",
wantQueries = []*querypb.BoundQuery{{Sql: "select COUNT(*) from INFORMATION_SCHEMA.`TABLES` as ist where ist.table_schema = :__vtschemaname and ist.table_name = :ist_table_name",
BindVariables: map[string]*querypb.BindVariable{
"__vtschemaname": sqltypes.StringBindVariable("performance_schema"),
"ist_table_name": sqltypes.StringBindVariable("foo"),
Expand Down Expand Up @@ -475,7 +475,7 @@ func TestGen4SelectDBA(t *testing.T) {
query, map[string]*querypb.BindVariable{},
)
require.NoError(t, err)
wantQueries = []*querypb.BoundQuery{{Sql: "select count(*) from INFORMATION_SCHEMA.`TABLES` as ist where ist.table_schema = :__vtschemaname and ist.table_name = :ist_table_name",
wantQueries = []*querypb.BoundQuery{{Sql: "select COUNT(*) from INFORMATION_SCHEMA.`TABLES` as ist where ist.table_schema = :__vtschemaname and ist.table_name = :ist_table_name",
BindVariables: map[string]*querypb.BindVariable{
"vtg1": sqltypes.StringBindVariable("performance_schema"),
"vtg2": sqltypes.StringBindVariable("foo"),
Expand Down

0 comments on commit ae6c966

Please sign in to comment.