duckdb 0.3.3-dev1279.0 → 0.3.3-dev1282.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 +1 -1
- package/src/duckdb.cpp +13 -3
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +36666 -36666
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -106099,11 +106099,21 @@ RESULT_TYPE TryCastCInternal(duckdb_result *result, idx_t col, idx_t row) {
|
|
|
106099
106099
|
return result_value;
|
|
106100
106100
|
}
|
|
106101
106101
|
|
|
106102
|
-
static bool
|
|
106102
|
+
static bool CanUseDeprecatedFetch(duckdb_result *result, idx_t col, idx_t row) {
|
|
106103
|
+
if (!result) {
|
|
106104
|
+
return false;
|
|
106105
|
+
}
|
|
106103
106106
|
if (!duckdb::deprecated_materialize_result(result)) {
|
|
106104
106107
|
return false;
|
|
106105
106108
|
}
|
|
106106
|
-
if (
|
|
106109
|
+
if (col >= result->__deprecated_column_count || row >= result->__deprecated_row_count) {
|
|
106110
|
+
return false;
|
|
106111
|
+
}
|
|
106112
|
+
return true;
|
|
106113
|
+
}
|
|
106114
|
+
|
|
106115
|
+
static bool CanFetchValue(duckdb_result *result, idx_t col, idx_t row) {
|
|
106116
|
+
if (!CanUseDeprecatedFetch(result, col, row)) {
|
|
106107
106117
|
return false;
|
|
106108
106118
|
}
|
|
106109
106119
|
if (result->__deprecated_columns[col].__deprecated_nullmask[row]) {
|
|
@@ -106285,7 +106295,7 @@ duckdb_blob duckdb_value_blob(duckdb_result *result, idx_t col, idx_t row) {
|
|
|
106285
106295
|
}
|
|
106286
106296
|
|
|
106287
106297
|
bool duckdb_value_is_null(duckdb_result *result, idx_t col, idx_t row) {
|
|
106288
|
-
if (!result
|
|
106298
|
+
if (!CanUseDeprecatedFetch(result, col, row)) {
|
|
106289
106299
|
return false;
|
|
106290
106300
|
}
|
|
106291
106301
|
return result->__deprecated_columns[col].__deprecated_nullmask[row];
|
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 "
|
|
15
|
-
#define DUCKDB_VERSION "v0.3.3-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "a52157e01"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.3-dev1282"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|