Skip to content

Commit 49a2a28

Browse files
committed
[ga-format-pr] Run ./format_repo.sh to fix formatting
1 parent f378e06 commit 49a2a28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

enginetest/server_engine.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ func convertRowsResult(ctx *sql.Context, rows *gosql.Rows, query string) (sql.Sc
318318
// (like a CALL to a stored procedure that only does SET operations)
319319
// But we should NOT convert USE, SHOW, etc. statements to OkResult
320320
// Also, external procedures (starting with "memory_") should return empty results, not OkResult
321-
if len(sch) == 0 && strings.HasPrefix(strings.ToUpper(strings.TrimSpace(query)), "CALL") &&
322-
!strings.Contains(strings.ToLower(query), "memory_") {
321+
if len(sch) == 0 && strings.HasPrefix(strings.ToUpper(strings.TrimSpace(query)), "CALL") &&
322+
!strings.Contains(strings.ToLower(query), "memory_") {
323323
// Check if we actually have any rows by trying to get the first row
324324
firstRow, err := rowIter.Next(ctx)
325325
if err == io.EOF {

0 commit comments

Comments
 (0)