Skip to content

MySQL cursor fetch uses wrong row descriptor after initial fetch#1564

Merged
tsegismont merged 1 commit intoeclipse-vertx:4.xfrom
tsegismont:backport-1562-4x
Nov 4, 2025
Merged

MySQL cursor fetch uses wrong row descriptor after initial fetch#1564
tsegismont merged 1 commit intoeclipse-vertx:4.xfrom
tsegismont:backport-1562-4x

Conversation

@tsegismont
Copy link
Copy Markdown
Member

Backport of #1562

…ipse-vertx#1562)

See eclipse-vertx#1525

MySQL sends column definitions in response to a prepare command.
But when executing the statement or fetching the first page of a cursor, it sends column definitions again.

The row decoder should not use the definitions given in response to prepare command because they may not be accurate.

The previous cursor implementation used them when fetching the second page.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
@tsegismont tsegismont merged commit 1ce5b7b into eclipse-vertx:4.x Nov 4, 2025
24 checks passed
@tsegismont tsegismont deleted the backport-1562-4x branch November 4, 2025 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant