fix(jdbc): support legacy plugin query execution

This commit is contained in:
t8y2 committed 2026-07-10 22:53:12 +08:00
1 parent 3e628d2c7b
commit a54bcccbd5
2 files changed
+186 -1

No files matched your search

+9
View File
@@ -336,6 +336,15 @@ impl PluginDriverSession {
let process = self.process.lock().await;
process.child.id()
}
#[cfg(test)]
pub(crate) async fn start_for_test(
plugin: InstalledPlugin,
driver_id: String,
env: PluginRuntimeEnv,
) -> Result<Self, String> {
Self::start(plugin, driver_id, env).await
}
}
async fn invoke_plugin<T>(