comparison Framework/Plugins/IndexBackend.cpp @ 403:91124cc8a8c7 db-protobuf

database plugins are informed about the identifier tags
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Apr 2023 11:10:19 +0200
parents 82921a29349a
children de6de66d70b2
comparison
equal deleted inserted replaced
402:82921a29349a 403:91124cc8a8c7
2790 # endif 2790 # endif
2791 #endif 2791 #endif
2792 } 2792 }
2793 2793
2794 2794
2795 DatabaseManager* IndexBackend::CreateSingleDatabaseManager(IDatabaseBackend& backend) 2795 DatabaseManager* IndexBackend::CreateSingleDatabaseManager(IDatabaseBackend& backend,
2796 bool hasIdentifierTags,
2797 const std::list<IdentifierTag>& identifierTags)
2796 { 2798 {
2797 std::unique_ptr<DatabaseManager> manager(new DatabaseManager(backend.CreateDatabaseFactory())); 2799 std::unique_ptr<DatabaseManager> manager(new DatabaseManager(backend.CreateDatabaseFactory()));
2798 backend.ConfigureDatabase(*manager); 2800 backend.ConfigureDatabase(*manager, hasIdentifierTags, identifierTags);
2799 return manager.release(); 2801 return manager.release();
2800 } 2802 }
2801 } 2803 }