duckdb 0.6.2-dev2482.0 → 0.6.2-dev2487.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
|
@@ -369,19 +369,11 @@ bool Value::StringIsValid(const char *str, idx_t length) {
|
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
Value Value::DECIMAL(int16_t value, uint8_t width, uint8_t scale) {
|
|
372
|
-
|
|
373
|
-
Value result(LogicalType::DECIMAL(width, scale));
|
|
374
|
-
result.value_.smallint = value;
|
|
375
|
-
result.is_null = false;
|
|
376
|
-
return result;
|
|
372
|
+
return Value::DECIMAL(int64_t(value), width, scale);
|
|
377
373
|
}
|
|
378
374
|
|
|
379
375
|
Value Value::DECIMAL(int32_t value, uint8_t width, uint8_t scale) {
|
|
380
|
-
|
|
381
|
-
Value result(LogicalType::DECIMAL(width, scale));
|
|
382
|
-
result.value_.integer = value;
|
|
383
|
-
result.is_null = false;
|
|
384
|
-
return result;
|
|
376
|
+
return Value::DECIMAL(int64_t(value), width, scale);
|
|
385
377
|
}
|
|
386
378
|
|
|
387
379
|
Value Value::DECIMAL(int64_t value, uint8_t width, uint8_t scale) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#ifndef DUCKDB_VERSION
|
|
2
|
-
#define DUCKDB_VERSION "0.6.2-
|
|
2
|
+
#define DUCKDB_VERSION "0.6.2-dev2487"
|
|
3
3
|
#endif
|
|
4
4
|
#ifndef DUCKDB_SOURCE_ID
|
|
5
|
-
#define DUCKDB_SOURCE_ID "
|
|
5
|
+
#define DUCKDB_SOURCE_ID "0636117587"
|
|
6
6
|
#endif
|
|
7
7
|
#include "duckdb/function/table/system_functions.hpp"
|
|
8
8
|
#include "duckdb/main/database.hpp"
|