Skip to content

Fix STRING param decoding in COM_STMT_EXECUTE#38009

Merged
terrymanu merged 2 commits intoapache:masterfrom
terrymanu:dev
Feb 11, 2026
Merged

Fix STRING param decoding in COM_STMT_EXECUTE#38009
terrymanu merged 2 commits intoapache:masterfrom
terrymanu:dev

Conversation

@terrymanu
Copy link
Member

  • persist parameter column types from COM_STMT_PREPARE to execute path
  • decode MYSQL_TYPE_STRING as String only for character columns
  • keep byte[] behavior for BLOB/binary columns to avoid raw-bytes regression
  • add regression tests for VAR_STRING and BLOB branches

Fixes #37993.

  - persist parameter column types from COM_STMT_PREPARE to execute path
  - decode MYSQL_TYPE_STRING as String only for character columns
  - keep byte[] behavior for BLOB/binary columns to avoid raw-bytes regression
  - add regression tests for VAR_STRING and BLOB branches
taojintianxia
taojintianxia previously approved these changes Feb 11, 2026
@terrymanu terrymanu merged commit bdf6cd3 into apache:master Feb 11, 2026
13 checks passed
@terrymanu terrymanu deleted the dev branch February 11, 2026 11:54
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.

shardingsphere-proxy: 5.1.1 support interpolateParams=false, but shardingsphere-proxy: 5.5.2 do not support.

2 participants