Skip to content

Commit a20336d

Browse files
authored
Merge pull request #31 from Mytherin/interfacechange
Avoid name conflict
2 parents 982d20e + 6565397 commit a20336d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/sqlite_extension.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,4 @@ DUCKDB_EXTENSION_API const char *sqlite_scanner_version() {
4343
DUCKDB_EXTENSION_API void sqlite_scanner_storage_init(DBConfig &config) {
4444
config.storage_extensions["sqlite_scanner"] = make_unique<SQLiteStorageExtension>();
4545
}
46-
4746
}

src/sqlite_storage.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212

1313
namespace duckdb {
1414

15-
static unique_ptr<Catalog> SQLiteAttach(StorageExtensionInfo *info, AttachedDatabase &db, const string &name, AttachInfo &info,
16-
AccessMode access_mode) {
15+
static unique_ptr<Catalog> SQLiteAttach(StorageExtensionInfo *storage_info, AttachedDatabase &db, const string &name,
16+
AttachInfo &info, AccessMode access_mode) {
1717
return make_unique<SQLiteCatalog>(db, info.path, access_mode);
1818
}
1919

20-
static unique_ptr<TransactionManager> SQLiteCreateTransactionManager(StorageExtensionInfo *info, AttachedDatabase &db, Catalog &catalog) {
20+
static unique_ptr<TransactionManager> SQLiteCreateTransactionManager(StorageExtensionInfo *storage_info,
21+
AttachedDatabase &db, Catalog &catalog) {
2122
auto &sqlite_catalog = (SQLiteCatalog &)catalog;
2223
return make_unique<SQLiteTransactionManager>(db, sqlite_catalog);
2324
}

0 commit comments

Comments
 (0)