New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Second value after nil is not returned from server.exec #350
Labels
bug
Something isn't working
Comments
Blocks tarantool/vshard#459 |
DifferentialOrange
added a commit
that referenced
this issue
Jan 19, 2024
After previous commit, `:exec` support sparse output, but not sparse args. It seems like a good idea to support it too, since it's too easy now. Follows #350
2 tasks
DifferentialOrange
added a commit
that referenced
this issue
Jan 19, 2024
After [1], returning values after nil (for example, classic `return nil, err` scenario) is broken. This patch restores the behavior. Since server doesn't always has access to `require('luatest.utils')`, utility is provided through its dump. Since `net.box` already handles `nil` args input with `box.NULL`, everything is fine for exec arguments. 1. e6a2093 Closes #350
DifferentialOrange
added a commit
that referenced
this issue
Jan 19, 2024
After [1], returning values after nil (for example, classic `return nil, err` scenario) is broken. This patch restores the behavior. Since server doesn't always has access to `require('luatest.utils')`, utility is provided through its dump. Since `net.box` already handles `nil` args input with `box.NULL`, everything is fine for exec arguments. 1. e6a2093 Closes #350
ochaplashkin
pushed a commit
that referenced
this issue
Jan 19, 2024
After [1], returning values after nil (for example, classic `return nil, err` scenario) is broken. This patch restores the behavior. Since server doesn't always has access to `require('luatest.utils')`, utility is provided through its dump. Since `net.box` already handles `nil` args input with `box.NULL`, everything is fine for exec arguments. 1. e6a2093 Closes #350
DifferentialOrange
added a commit
that referenced
this issue
Jan 19, 2024
Simplify code from PR #351 based on @Totktonada advice. Follows #350
ochaplashkin
pushed a commit
that referenced
this issue
Jan 19, 2024
Simplify code from PR #351 based on @Totktonada advice. Follows #350
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Second value after nil is not returned from
server.exec
. Caused by e6a2093.The text was updated successfully, but these errors were encountered: