-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: support returning results from procedures with output parameters
This commit teaches the execution to return a single row from procedures with output parameters. Whenever a procedure has any output parameters, it's expected to return a single tuple elements from which form the result row of the procedure call. Additionally, this commit adjusts the logic to skip evaluation of OUT argument expressions (to match postgres) and ignore them from passing into the udf call. It also extends the logic test framework a bit to add a mode that asserts that the output of a query is empty (procedures with no output parameters don't return any rows). Release note (sql change): OUT and INOUT parameter classes are now supported in stored procedures.
- Loading branch information
1 parent
3ee65b4
commit 6406f4e
Showing
8 changed files
with
415 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.