diff --git a/src/duckdb/duckdb_server.cpp b/src/duckdb/duckdb_server.cpp index bcea63a..4a41c42 100644 --- a/src/duckdb/duckdb_server.cpp +++ b/src/duckdb/duckdb_server.cpp @@ -278,7 +278,7 @@ WHERE constraint_type = 'FOREIGN KEY') WHERE )" + const ServerCallContext &context) { std::string query = "SELECT DISTINCT catalog_name FROM information_schema.schemata ORDER BY catalog_name"; - return DoGetDuckDBQuery(db_conn_, query, SqlSchema::GetTableTypesSchema()); + return DoGetDuckDBQuery(db_conn_, query, SqlSchema::GetCatalogsSchema()); } arrow::Result> GetFlightInfoSchemas(