feat(sql-files): create, rename, and delete SQL files in tree

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-08-30 12:26:06 +08:00
1 parent 9491ab08df
commit 7ba30ae761
22 files changed
+590 -8

No files matched your search

+20 -2
View File
@@ -3005,8 +3005,26 @@ mod tests {
}
#[cfg(unix)]
#[tokio::test]
async fn external_driver_table_export_closes_cursor_after_fetch_error() {
#[test]
fn external_driver_table_export_closes_cursor_after_fetch_error() {
let handle = std::thread::Builder::new()
.name("table-export-fetch-error".to_string())
.stack_size(8 * 1024 * 1024)
.spawn(|| {
tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.expect("build table export fetch error test runtime")
.block_on(run_external_driver_table_export_closes_cursor_after_fetch_error());
})
.expect("spawn table export fetch error test thread");
if let Err(panic) = handle.join() {
std::panic::resume_unwind(panic);
}
}
#[cfg(unix)]
async fn run_external_driver_table_export_closes_cursor_after_fetch_error() {
let fixture = external_driver_export_fixture(
r#" case "$line" in
*'"method":"executeQueryPage"'*)