Skip to content

Commit

Permalink
Ensure database name on pipelined begin is handled appropriately (#1615)
Browse files Browse the repository at this point in the history
  • Loading branch information
injectives authored Feb 5, 2025
1 parent 31b8f96 commit 5306f43
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,14 @@ public CompletionStage<ResultCursor> runAsync(Query query) {
ensureCanRunQueries();
var parameters = query.parameters().asMap(Values::value);
var resultCursor = new ResultCursorImpl(
connection, query, fetchSize, (bookmark) -> {}, false, beginFuture, ignored -> {}, apiTelemetryWork);
connection,
query,
fetchSize,
(bookmark) -> {},
false,
beginFuture,
databaseNameConsumer,
apiTelemetryWork);
var flushStage = connection
.run(query.text(), parameters)
.thenCompose(ignored -> connection.pull(-1, fetchSize))
Expand Down

0 comments on commit 5306f43

Please sign in to comment.