From 65777f26e8f9522d1772d70e104aab57cb9be9d3 Mon Sep 17 00:00:00 2001 From: prmoore77 Date: Thu, 23 May 2024 15:30:10 -0400 Subject: [PATCH] Updated to dev build of DuckDB (which fixes .ipp files not being installed). Will not ship this release, just wanted to get a good build. --- CMakeLists.txt | 1 + src/duckdb/duckdb_server.cpp | 2 +- third_party/DuckDB_CMakeLists.txt.in | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b501de4..e577e85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,6 +89,7 @@ target_link_libraries(duckdb "${DUCKDB_INSTALL_DIR}/lib/libduckdb_re2.a" "${DUCKDB_INSTALL_DIR}/lib/libduckdb_skiplistlib.a" "${DUCKDB_INSTALL_DIR}/lib/libduckdb_utf8proc.a" + "${DUCKDB_INSTALL_DIR}/lib/libduckdb_yyjson.a" "${DUCKDB_INSTALL_DIR}/lib/libparquet_extension.a" ) diff --git a/src/duckdb/duckdb_server.cpp b/src/duckdb/duckdb_server.cpp index 4a41c42..0988be3 100644 --- a/src/duckdb/duckdb_server.cpp +++ b/src/duckdb/duckdb_server.cpp @@ -320,7 +320,7 @@ WHERE constraint_type = 'FOREIGN KEY') WHERE )" + FieldVector parameter_fields; parameter_fields.reserve(parameter_count); - std::shared_ptr parameter_data = stmt->data; + duckdb::shared_ptr parameter_data = stmt->data; auto bind_parameter_map = parameter_data->value_map; for (id_t i = 0; i < parameter_count; i++) { diff --git a/third_party/DuckDB_CMakeLists.txt.in b/third_party/DuckDB_CMakeLists.txt.in index 0bd8242..20bcc43 100644 --- a/third_party/DuckDB_CMakeLists.txt.in +++ b/third_party/DuckDB_CMakeLists.txt.in @@ -9,7 +9,7 @@ ExternalProject_Add( duckdb_project PREFIX ${CMAKE_BINARY_DIR}/third_party GIT_REPOSITORY https://github.com/duckdb/duckdb - GIT_TAG v0.10.3 + GIT_TAG caef2cd0c7bac1b2195451181844614c984f835a CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/third_party/duckdb )