Skip to content

Commit

Permalink
update vendored sources again
Browse files Browse the repository at this point in the history
Hannes Mühleisen committed May 22, 2024
1 parent 493e925 commit fc6c3f6
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/duckdb/src/function/table/version/pragma_version.cpp
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
#define DUCKDB_VERSION "v0.10.3"
#endif
#ifndef DUCKDB_SOURCE_ID
#define DUCKDB_SOURCE_ID "62d61a417f"
#define DUCKDB_SOURCE_ID "70fd6a8a24"
#endif
#include "duckdb/function/table/system_functions.hpp"
#include "duckdb/main/database.hpp"
5 changes: 2 additions & 3 deletions src/duckdb/src/planner/binder/statement/bind_create.cpp
Original file line number Diff line number Diff line change
@@ -613,9 +613,6 @@ BoundStatement Binder::Bind(CreateStatement &stmt) {
case CatalogType::INDEX_ENTRY: {
auto &base = stmt.info->Cast<CreateIndexInfo>();

auto catalog = BindCatalog(base.catalog);
properties.modified_databases.insert(catalog);

// visit the table reference
auto table_ref = make_uniq<BaseTableRef>();
table_ref->catalog_name = base.catalog;
@@ -631,6 +628,8 @@ BoundStatement Binder::Bind(CreateStatement &stmt) {
if (table.temporary) {
stmt.info->temporary = true;
}
properties.modified_databases.insert(table.catalog.GetName());

// create a plan over the bound table
auto plan = CreatePlan(*bound_table);
if (plan->type != LogicalOperatorType::LOGICAL_GET) {

0 comments on commit fc6c3f6

Please sign in to comment.