duckdb 0.6.2-dev581.0 → 0.6.2-dev604.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
@@ -2,7 +2,7 @@
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
4
  "types": "./lib/duckdb.d.ts",
5
- "version": "0.6.2-dev581.0",
5
+ "version": "0.6.2-dev604.0",
6
6
  "description": "DuckDB node.js API",
7
7
  "gypfile": true,
8
8
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -139214,7 +139214,7 @@ shared_ptr<Relation> Connection::Table(const string &table_name) {
139214
139214
  shared_ptr<Relation> Connection::Table(const string &schema_name, const string &table_name) {
139215
139215
  auto table_info = TableInfo(schema_name, table_name);
139216
139216
  if (!table_info) {
139217
- throw Exception("Table does not exist!");
139217
+ throw CatalogException("Table '%s' does not exist!", table_name);
139218
139218
  }
139219
139219
  return make_shared<TableRelation>(context, move(table_info));
139220
139220
  }
@@ -139757,9 +139757,9 @@ shared_ptr<DuckDB> DBInstanceCache::GetInstanceInternal(const string &database,
139757
139757
  db_instance = db_instances[abs_database_path].lock();
139758
139758
  if (db_instance) {
139759
139759
  if (db_instance->instance->config != config) {
139760
- throw duckdb::Exception(ExceptionType::CONNECTION,
139761
- "Can't open a connection to same database file with a different configuration "
139762
- "than existing connections");
139760
+ throw duckdb::ConnectionException(
139761
+ "Can't open a connection to same database file with a different configuration "
139762
+ "than existing connections");
139763
139763
  }
139764
139764
  } else {
139765
139765
  // clean-up
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 "c68028a619"
15
- #define DUCKDB_VERSION "v0.6.2-dev581"
14
+ #define DUCKDB_SOURCE_ID "8ff5885ee6"
15
+ #define DUCKDB_VERSION "v0.6.2-dev604"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //