forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: refactor Executor.execStmtInParallel
... to not take in a StatementResult. Before this patch, Executor.execStmtInParallel() was taking in a StatementResult and writing mocked results to it. I've lifted the mocking to the parent, since this matches an important concept - parallel statements don't return results, so it was unnatural for execStmtInParallel() to look like it's returning them.
- Loading branch information
1 parent
a69aa0c
commit 06d6568
Showing
1 changed file
with
44 additions
and
26 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