Skip to content

Implement Node.js MariaDB and MySQL L2 compliance - #828

Merged
rrobetti merged 2 commits into
mainfrom
node/mysql-mariadb-l2
Nov 24, 2026
Merged

rrobetti merged 2 commits into
mainfrom
node/mysql-mariadb-l2

Conversation

@rrobetti

@rrobetti rrobetti commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add 14-case shared L2 real-server suites for MariaDB and MySQL, covering typed scalar/temporal/text/binary/stream/URL/RowId/Object parameters, NULLs, reusable prepared and plain statements, both batch forms, generated keys, query metadata, and database-specific RETURNING behavior.
  • Fix protobuf StringValue wrapper encoding/decoding for URL, RowId, and generated BigInteger values.
  • Keep per-test OJP sessions isolated, preventing stateful LOB resources from leaking across integration cases.
  • Update the Node README and client-level matrix to record MariaDB and MySQL at L2.

The Node client continues to manage SessionInfo internally; applications do not propagate session tokens. ARRAY and REF remain explicit API omissions, and Node metadata remains the contract-level result metadata rather than JDBC's vendor metadata APIs.

Verification

  • npm run build
  • npm test -- --runInBand — 12 suites, 123 tests passed
  • MySQL 8.0: L1 (4 tests) and L2 (14 tests) passed against a real OJP server
  • MariaDB 10.11: L1 (4 tests) and L2 (14 tests) passed against a real OJP server

rrobetti and others added 2 commits November 24, 2026 07:18
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@rrobetti
rrobetti marked this pull request as ready for review November 24, 2026 07:26
@sonarqubecloud

Copy link
Copy Markdown

@rrobetti
rrobetti merged commit 83b5346 into main Nov 24, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant