duckdb 0.4.1-dev429.0 → 0.4.1-dev439.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.4.1-dev429.0",
4
+ "version": "0.4.1-dev439.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -101460,8 +101460,7 @@ static unique_ptr<FunctionData> NextValBind(ClientContext &context, ScalarFuncti
101460
101460
  // evaluate the constant and perform the catalog lookup already
101461
101461
  auto seqname = ExpressionExecutor::EvaluateScalar(*arguments[0]);
101462
101462
  if (!seqname.IsNull()) {
101463
- D_ASSERT(seqname.type().id() == LogicalTypeId::VARCHAR);
101464
- auto qname = QualifiedName::Parse(StringValue::Get(seqname));
101463
+ auto qname = QualifiedName::Parse(seqname.ToString());
101465
101464
  sequence = Catalog::GetCatalog(context).GetEntry<SequenceCatalogEntry>(context, qname.schema, qname.name);
101466
101465
  }
101467
101466
  }
@@ -106524,7 +106523,7 @@ void ArrowToDuckDBList(Vector &vector, ArrowArray &array, ArrowScanLocalState &s
106524
106523
  le.length = original_type.second;
106525
106524
  cur_offset += original_type.second;
106526
106525
  }
106527
- list_size = cur_offset;
106526
+ list_size = start_offset + cur_offset;
106528
106527
  } else if (original_type.first == ArrowVariableSizeType::NORMAL) {
106529
106528
  auto offsets = (uint32_t *)array.buffers[1] + array.offset + scan_state.chunk_offset;
106530
106529
  if (nested_offset != -1) {
@@ -295859,17 +295858,17 @@ int mbedtls_pk_setup_rsa_alt( mbedtls_pk_context *ctx, void * key,
295859
295858
  */
295860
295859
  size_t mbedtls_pk_get_bitlen( const mbedtls_pk_context *ctx );
295861
295860
 
295862
- /**
295863
- * \brief Get the length in bytes of the underlying key
295864
- *
295865
- * \param ctx The context to query. It must have been initialized.
295866
- *
295867
- * \return Key length in bytes, or 0 on error
295868
- */
295869
- static inline size_t mbedtls_pk_get_len( const mbedtls_pk_context *ctx )
295870
- {
295871
- return( ( mbedtls_pk_get_bitlen( ctx ) + 7 ) / 8 );
295872
- }
295861
+ ///**
295862
+ // * \brief Get the length in bytes of the underlying key
295863
+ // *
295864
+ // * \param ctx The context to query. It must have been initialized.
295865
+ // *
295866
+ // * \return Key length in bytes, or 0 on error
295867
+ // */
295868
+ //static inline size_t mbedtls_pk_get_len( const mbedtls_pk_context *ctx )
295869
+ //{
295870
+ // return( ( mbedtls_pk_get_bitlen( ctx ) + 7 ) / 8 );
295871
+ //}
295873
295872
 
295874
295873
  /**
295875
295874
  * \brief Tell if a context can do the operation given by type