-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Support for CALL procedures #7287
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
Merged
Merged
Changes from 25 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
4416b48
Added parsing and AST for CALL procedure
systay 82d0208
added vtgate planning for CALL
systay b7fc167
plan CALL queries correctly
systay 49ed536
added executor tests for CALL proc
systay 5180294
rebuild the parser with the new sql.y
systay 46a0bb9
updated test assertions
systay 345dec1
add more tests around procedures returning muliple results
systay 9aa29d7
address peer review comments
systay f5a74b1
fetchnext on connection to retrieve next resultset on mysql connection
harshit-gangal e5b5003
added vttablet call procedure query executor
harshit-gangal 5b824bb
fix vtgate e2e test
harshit-gangal 1c35f7b
added e2e test and fix conn unlock on fetch next
harshit-gangal 228968e
added e2e test from vttablet
harshit-gangal e6b8763
added sleep to vtgate e2e test
harshit-gangal e32cbfa
no change on mysql package. Removed the added tests
harshit-gangal 13f810a
block call procedure call inside a transaction
harshit-gangal 2925662
added e2e test in vttablet for tx call proc
harshit-gangal 502a6a1
added support for call proc to work in reserved connection outside of…
harshit-gangal f89bae8
parseEOFPacket to return status flags
harshit-gangal 57d35e9
result to return status flags and fixed all the tests
harshit-gangal c8dbe44
result to return status flags and fixed all the tests
harshit-gangal 295572e
check transaction and error out if on non-tx pool transaction is left…
harshit-gangal 8cbe671
transaction state change not allowed inside the active transaction us…
harshit-gangal 7b65d60
return the error code as CANCELLED for tx change not allowed in sproc
harshit-gangal fbe4e0d
fix test to add statusFlags
harshit-gangal d20e588
Merge remote-tracking branch 'upstream/master' into call-proc
systay a7ac0fd
fix call_cases.txt and run the planning tests
systay 0d5c351
use constants for easier reading
systay 9b2c6ed
add failing endtoend tests
systay 7eb3d35
make CALL work with parameters
systay 9438171
make tests green
systay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.