Skip to content

Commit 66ad1cb

Browse files
committed
fix Expressions() of TableFunctionWrapper
1 parent 725f43c commit 66ad1cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/expression/tablefunction/table_function.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func (t *TableFunctionWrapper) Expressions() []sql.Expression {
6868
if t.funcExpr == nil {
6969
return nil
7070
}
71-
return t.funcExpr.Children()
71+
return []sql.Expression{t.funcExpr}
7272
}
7373

7474
func (t *TableFunctionWrapper) IsReadOnly() bool {

0 commit comments

Comments
 (0)