docs: improve legacy windows and linux install guidance

This commit is contained in:
zipg authored and GitHub committed 2026-09-02 17:34:23 +08:00
1 parent 2c14016828
commit 0333b3b389
13 files changed
+382 -38

No files matched your search

+1 -1
View File
@@ -417,7 +417,7 @@ fn export_agents_offline_unlocked(
let plan = inspect_offline_package(package)?;
let expected = drivers.iter().map(|driver| driver.db_type.clone()).collect::<BTreeSet<_>>();
let actual = plan.driver_keys.into_iter().collect::<BTreeSet<_>>();
if expected != actual || plan.includes_jre != !jres.is_empty() {
if expected != actual || plan.includes_jre == jres.is_empty() {
return Err("Generated offline Agent package failed compatibility validation".to_string());
}
Ok(())
+3 -4
View File
@@ -5840,7 +5840,7 @@ async fn list_objects_once(
let db_config = connection_config(state, connection_id).await;
let force_local_table_name_filter = table_name_filter.is_some_and(|filter| !filter.is_empty());
let (mysql_limit, mysql_offset) = if filter.is_none_or(|value| value.trim().is_empty())
&& !table_name_filter.is_some_and(|filter| !filter.is_empty())
&& table_name_filter.is_none_or(|filter| filter.is_empty())
{
(limit, offset)
} else {
@@ -9429,10 +9429,9 @@ fn postgres_missing_prokind_error(err: &str) -> bool {
// PostgreSQL localizes the undefined-column message (for example, Chinese
// servers report "字段 p.prokind 不存在"). Keep the column context so an
// unrelated relation named `prokind` cannot trigger this compatibility path.
let undefined_column = lower.contains("sqlstate 42703")
lower.contains("sqlstate 42703")
|| (lower.contains("does not exist") && lower.contains("column"))
|| (err.contains("不存在") && (err.contains("字段") || err.contains("列 p.prokind")));
undefined_column
|| (err.contains("不存在") && (err.contains("字段") || err.contains("列 p.prokind")))
}
fn opengauss_sequence_cache_metadata_error(err: &str) -> bool {
@@ -209,9 +209,9 @@ pub fn build_table_data_select_sql_with_database(
let table = if let Some(database) = jdbc_tdengine_database {
qualified_table_name(Some(DatabaseType::Tdengine), Some(database), &options.table_name)
// Doris / StarRocks multi-catalog: prefix the catalog for external-catalog tables.
} else if database_type == Some(DatabaseType::Iris) {
table_data_qualified_table_name(database_type, schema, &options.table_name, options.identifier_quote.as_deref())
} else if uses_connection_identifier_quote(database_type, options.identifier_quote.as_deref()) {
} else if database_type == Some(DatabaseType::Iris)
|| uses_connection_identifier_quote(database_type, options.identifier_quote.as_deref())
{
table_data_qualified_table_name(database_type, schema, &options.table_name, options.identifier_quote.as_deref())
} else if include_database_name {
database_qualified_table_name(