duckdb 0.3.2-dev782.0 → 0.3.2-dev784.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.3.2-dev782.0",
4
+ "version": "0.3.2-dev784.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -74467,7 +74467,8 @@ string MacroFunction::ValidateArguments(MacroCatalogEntry &macro_func, FunctionE
74467
74467
  } else if (defaults.find(arg->alias) != defaults.end()) {
74468
74468
  return StringUtil::Format("Duplicate default parameters %s!", arg->alias);
74469
74469
  }
74470
- defaults[arg->alias] = move(arg);
74470
+ auto alias = arg->alias;
74471
+ defaults[alias] = move(arg);
74471
74472
  } else if (!defaults.empty()) {
74472
74473
  return "Positional parameters cannot come after parameters with a default value!";
74473
74474
  } else {
@@ -99884,6 +99885,7 @@ ExtensionLoadResult ExtensionHelper::LoadExtensionInternal(DuckDB &db, const std
99884
99885
 
99885
99886
 
99886
99887
 
99888
+ #ifndef DISABLE_DUCKDB_REMOTE_INSTALL
99887
99889
 
99888
99890
 
99889
99891
  // LICENSE_CHANGE_BEGIN
@@ -107326,6 +107328,7 @@ inline SSL_CTX *Client::ssl_context() const {
107326
107328
 
107327
107329
  // LICENSE_CHANGE_END
107328
107330
 
107331
+ #endif
107329
107332
 
107330
107333
 
107331
107334
  #include <fstream>
@@ -107383,6 +107386,9 @@ void ExtensionHelper::InstallExtension(DatabaseInstance &db, const string &exten
107383
107386
  throw IOException("Failed to read extension from \"%s\": no such file", extension);
107384
107387
  }
107385
107388
 
107389
+ #ifdef DISABLE_DUCKDB_REMOTE_INSTALL
107390
+ throw BinderException("Remote extension installation is disabled through configuration");
107391
+ #else
107386
107392
  string url_template = "http://extensions.duckdb.org/${REVISION}/${PLATFORM}/${NAME}.duckdb_extension.gz";
107387
107393
 
107388
107394
  if (is_http_url) {
@@ -107421,6 +107427,7 @@ void ExtensionHelper::InstallExtension(DatabaseInstance &db, const string &exten
107421
107427
  if (out.bad()) {
107422
107428
  throw IOException("Failed to write extension to %s", local_extension_path);
107423
107429
  }
107430
+ #endif
107424
107431
  }
107425
107432
 
107426
107433
  } // namespace duckdb
@@ -138758,7 +138765,8 @@ unique_ptr<CreateStatement> Transformer::TransformCreateFunction(duckdb_libpgque
138758
138765
  if (macro_func->default_parameters.find(param->alias) != macro_func->default_parameters.end()) {
138759
138766
  throw ParserException("Duplicate default parameter: '%s'", param->alias);
138760
138767
  }
138761
- macro_func->default_parameters[param->alias] = move(param);
138768
+ auto alias = param->alias;
138769
+ macro_func->default_parameters[alias] = move(param);
138762
138770
  } else if (param->GetExpressionClass() == ExpressionClass::COLUMN_REF) {
138763
138771
  // positional parameters
138764
138772
  if (!macro_func->default_parameters.empty()) {
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 "7473f3eb0"
15
- #define DUCKDB_VERSION "0.3.2-dev782"
14
+ #define DUCKDB_SOURCE_ID "f338ea423"
15
+ #define DUCKDB_VERSION "0.3.2-dev784"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //