Skip to content

Commit 7509fb7

Browse files
author
James Cor
committed
this?
1 parent a205f74 commit 7509fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/procedures/interpreter_logic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ func Call(ctx *sql.Context, iNode InterpreterNode) (sql.RowIter, *InterpreterSta
869869
if len(rowIters) == 0 {
870870
iNode.SetSchema(types.OkResultSchema)
871871
rowIters = append(rowIters, sql.RowsToRowIter(sql.Row{types.NewOkResult(0)}))
872-
} else {
872+
} else if retSch != nil {
873873
iNode.SetSchema(retSch)
874874
}
875875

0 commit comments

Comments
 (0)