duckdb 0.3.5-dev1336.0 → 0.3.5-dev1355.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.5-dev1336.0",
4
+ "version": "0.3.5-dev1355.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -37994,6 +37994,7 @@ string TreeRenderer::RemovePadding(string l) {
37994
37994
  }
37995
37995
 
37996
37996
  void TreeRenderer::SplitStringBuffer(const string &source, vector<string> &result) {
37997
+ D_ASSERT(Utf8Proc::IsValid(source.c_str(), source.size()));
37997
37998
  idx_t max_line_render_size = config.NODE_RENDER_WIDTH - 2;
37998
37999
  // utf8 in prompt, get render width
37999
38000
  idx_t cpos = 0;
@@ -38028,6 +38029,9 @@ void TreeRenderer::SplitUpExtraInfo(const string &extra_info, vector<string> &re
38028
38029
  if (extra_info.empty()) {
38029
38030
  return;
38030
38031
  }
38032
+ if (!Utf8Proc::IsValid(extra_info.c_str(), extra_info.size())) {
38033
+ return;
38034
+ }
38031
38035
  auto splits = StringUtil::Split(extra_info, "\n");
38032
38036
  if (!splits.empty() && splits[0] != "[INFOSEPARATOR]") {
38033
38037
  result.push_back(ExtraInfoSeparator());
@@ -115876,6 +115880,7 @@ string ClientContext::VerifyQuery(ClientContextLock &lock, const string &query,
115876
115880
  } catch (std::exception &ex) {
115877
115881
  results.push_back(make_unique<MaterializedQueryResult>(ex.what()));
115878
115882
  }
115883
+ interrupted = false;
115879
115884
  }
115880
115885
  config.enable_optimizer = optimizer_enabled;
115881
115886
 
@@ -115886,6 +115891,7 @@ string ClientContext::VerifyQuery(ClientContextLock &lock, const string &query,
115886
115891
  try {
115887
115892
  RunStatementInternal(lock, explain_q, move(explain_stmt), false, false);
115888
115893
  } catch (std::exception &ex) { // LCOV_EXCL_START
115894
+ interrupted = false;
115889
115895
  return "EXPLAIN failed but query did not (" + string(ex.what()) + ")";
115890
115896
  } // LCOV_EXCL_STOP
115891
115897
  }
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 "53a192603"
15
- #define DUCKDB_VERSION "v0.3.5-dev1336"
14
+ #define DUCKDB_SOURCE_ID "1fe615680"
15
+ #define DUCKDB_VERSION "v0.3.5-dev1355"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //