duckdb 0.3.3-dev1291.0 → 0.3.3-dev1293.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 +6 -0
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +36588 -36588
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -153891,6 +153891,9 @@ unique_ptr<BoundResultModifier> Binder::BindLimit(LimitModifier &limit_mod) {
|
|
|
153891
153891
|
result->limit = BindDelimiter(context, move(limit_mod.limit), LogicalType::BIGINT, val);
|
|
153892
153892
|
if (!result->limit) {
|
|
153893
153893
|
result->limit_val = val.GetValue<int64_t>();
|
|
153894
|
+
if (result->limit_val < 0) {
|
|
153895
|
+
throw BinderException("LIMIT cannot be negative");
|
|
153896
|
+
}
|
|
153894
153897
|
}
|
|
153895
153898
|
}
|
|
153896
153899
|
if (limit_mod.offset) {
|
|
@@ -153898,6 +153901,9 @@ unique_ptr<BoundResultModifier> Binder::BindLimit(LimitModifier &limit_mod) {
|
|
|
153898
153901
|
result->offset = BindDelimiter(context, move(limit_mod.offset), LogicalType::BIGINT, val);
|
|
153899
153902
|
if (!result->offset) {
|
|
153900
153903
|
result->offset_val = val.GetValue<int64_t>();
|
|
153904
|
+
if (result->offset_val < 0) {
|
|
153905
|
+
throw BinderException("OFFSET cannot be negative");
|
|
153906
|
+
}
|
|
153901
153907
|
}
|
|
153902
153908
|
}
|
|
153903
153909
|
return move(result);
|
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 "d1cbbb44c"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.3-dev1293"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|