Files
dbx/docs/testing
Eliasandmapan 852b3f7a67 fix(xugu): preserve backslashes in transfer and import literals (#13980)
* fix(xugu): preserve backslashes in transfer and import literals

Native Xugu retains backslashes in ordinary SQL strings. The generic
transfer encoder omitted it from the literal-backslash dialect set,
so successful transfers could change CLOB text and JSON escapes.

Add only Xugu to that rule, retaining apostrophe quoting and typed-value
precedence. Table-file import intentionally receives the same correction.
Other database targets, Go drivers, Agent RPC and frontend code are unchanged.
Update the existing MySQL-to-Xugu adapter comment without changing its logic.

Add literal, mixed INSERT, import-builder and opt-in native live coverage.
Verify 1,007 complete rows, 220,000-character CLOB, JSON escapes, controls,
empty versus NULL, multiple batches, same-session pagination, overwrite
and duplicate append. Include a sanitized actual DEV result screenshot.

Validation: 574 transfer tests and 226 import tests passed; native live
same-instance and cross-instance suites passed. Packaged DEV UI and
independent full-value comparisons passed. Clippy, formatting and diff
checks completed. Document initial Agent timeouts and successful explicit
reconnect recovery separately; no timeout-recovery fix is claimed.

* test(xugu): remove redundant borrow in live transfer fixture

Remove the unnecessary format argument reference reported by CI Clippy. This only changes construction of the random test table name and does not alter transfer or import behavior.

---------

Co-authored-by: mapan <pan.anarkh1994@gmail.com>
2026-11-02 22:56:13 +08:00
..