duckdb 0.4.1-dev1022.0 → 0.4.1-dev1033.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 +8 -2
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +37400 -37400
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -18191,7 +18191,11 @@ unique_ptr<FileHandle> LocalFileSystem::OpenFile(const string &path, uint8_t fla
|
|
|
18191
18191
|
}
|
|
18192
18192
|
|
|
18193
18193
|
void LocalFileSystem::SetFilePointer(FileHandle &handle, idx_t location) {
|
|
18194
|
-
(
|
|
18194
|
+
auto &whandle = (WindowsFileHandle &)handle;
|
|
18195
|
+
whandle.position = location;
|
|
18196
|
+
LARGE_INTEGER wlocation;
|
|
18197
|
+
wlocation.QuadPart = location;
|
|
18198
|
+
SetFilePointerEx(whandle.fd, wlocation, NULL, FILE_BEGIN);
|
|
18195
18199
|
}
|
|
18196
18200
|
|
|
18197
18201
|
idx_t LocalFileSystem::GetFilePointer(FileHandle &handle) {
|
|
@@ -18209,7 +18213,8 @@ static DWORD FSInternalRead(FileHandle &handle, HANDLE hFile, void *buffer, int6
|
|
|
18209
18213
|
auto rc = ReadFile(hFile, buffer, (DWORD)nr_bytes, &bytes_read, &ov);
|
|
18210
18214
|
if (!rc) {
|
|
18211
18215
|
auto error = LocalFileSystem::GetLastErrorAsString();
|
|
18212
|
-
throw IOException("Could not read file \"%s\" (error in ReadFile): %s",
|
|
18216
|
+
throw IOException("Could not read file \"%s\" (error in ReadFile(location: %llu, nr_bytes: %lld)): %s",
|
|
18217
|
+
handle.path, location, nr_bytes, error);
|
|
18213
18218
|
}
|
|
18214
18219
|
return bytes_read;
|
|
18215
18220
|
}
|
|
@@ -162873,6 +162878,7 @@ unique_ptr<AlterStatement> Transformer::TransformAlterSequence(duckdb_libpgquery
|
|
|
162873
162878
|
throw NotImplementedException("ALTER SEQUENCE option not supported yet!");
|
|
162874
162879
|
}
|
|
162875
162880
|
}
|
|
162881
|
+
result->info->if_exists = stmt->missing_ok;
|
|
162876
162882
|
return result;
|
|
162877
162883
|
}
|
|
162878
162884
|
} // namespace duckdb
|
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.4.1-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "1c37a627f"
|
|
15
|
+
#define DUCKDB_VERSION "v0.4.1-dev1033"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|