duckdb 0.5.1-dev154.0 → 0.5.1-dev158.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
- "version": "0.5.1-dev154.0",
4
+ "version": "0.5.1-dev158.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -4051,7 +4051,7 @@ unique_ptr<CatalogEntry> TableCatalogEntry::RemoveColumn(ClientContext &context,
4051
4051
  return make_unique<TableCatalogEntry>(catalog, schema, (BoundCreateTableInfo *)bound_create_info.get(),
4052
4052
  storage);
4053
4053
  }
4054
- auto new_storage = make_shared<DataTable>(context, *storage, removed_index);
4054
+ auto new_storage = make_shared<DataTable>(context, *storage, columns[removed_index].StorageOid());
4055
4055
  return make_unique<TableCatalogEntry>(catalog, schema, (BoundCreateTableInfo *)bound_create_info.get(),
4056
4056
  new_storage);
4057
4057
  }
@@ -4479,7 +4479,7 @@ void TableCatalogEntry::CommitAlter(AlterInfo &info) {
4479
4479
  }
4480
4480
  }
4481
4481
  D_ASSERT(removed_index != DConstants::INVALID_INDEX);
4482
- storage->CommitDropColumn(removed_index);
4482
+ storage->CommitDropColumn(columns[removed_index].StorageOid());
4483
4483
  }
4484
4484
 
4485
4485
  void TableCatalogEntry::CommitDrop() {
package/src/duckdb.hpp CHANGED
@@ -11,8 +11,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
11
11
  #pragma once
12
12
  #define DUCKDB_AMALGAMATION 1
13
13
  #define DUCKDB_AMALGAMATION_EXTENDED 1
14
- #define DUCKDB_SOURCE_ID "547e20988"
15
- #define DUCKDB_VERSION "v0.5.1-dev154"
14
+ #define DUCKDB_SOURCE_ID "e2b0073b1"
15
+ #define DUCKDB_VERSION "v0.5.1-dev158"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //