fix(dbx-core): preserve mysql cross-database targets

This commit is contained in:
Fody Jute authored and GitHub committed 2026-07-04 00:58:52 +08:00
1 parent 570230e525
commit 2225343e8a
6 files changed
+197 -27

No files matched your search

+1 -1
View File
@@ -2198,7 +2198,7 @@ WHERE u.id = picked.id;
// `add_outer_standard_limit` always includes OFFSET clause.
assert_eq!(
result.sql.unwrap(),
"SELECT * FROM (SELECT DISTINCT a, b, c FROM t LIMIT 500) \"dbx_page\" ORDER BY 1, 2, 3 LIMIT 100 OFFSET 0;"
"SELECT * FROM (SELECT DISTINCT a, b, c FROM t LIMIT 500) `dbx_page` ORDER BY 1, 2, 3 LIMIT 100 OFFSET 0;"
);
}