fix(kingbase): honor driver identifier quote for schema context
Closes #7505
This commit is contained in:
1 parent
7a4edb6c19
commit
f83f707fbc
6 files changed
+159
-19
No files matched your search
@@ -2455,7 +2455,7 @@ impl AppState {
|
||||
}
|
||||
}
|
||||
}
|
||||
let client = match initial_result {
|
||||
let mut client = match initial_result {
|
||||
Ok(client) => client,
|
||||
Err(err) => {
|
||||
let alternate_configs = oracle_alternate_connect_configs(&db_config, &err);
|
||||
@@ -2529,6 +2529,14 @@ impl AppState {
|
||||
}
|
||||
}
|
||||
};
|
||||
if db_config.db_type == DatabaseType::Kingbase {
|
||||
let identifier_quote = client
|
||||
.connection_info(Some(agent_connect_timeout(&db_config)))
|
||||
.await
|
||||
.ok()
|
||||
.map(|info| info.identifier_quote);
|
||||
client.set_identifier_quote(identifier_quote);
|
||||
}
|
||||
PoolKind::agent(client)
|
||||
} else {
|
||||
// ZooKeeper JVM properties are connection-scoped; shared agent daemons must not inherit them.
|
||||
|
||||
Reference in new issue
Block a user