pgbackrest.git / summary / log / commit / refs

commit    3bbead548026155c8bb5b212bed80903a3ef6a97
Author:   David Steele <david@pgmasters.net>
Date:     Fri Feb 28 20:03:01 2020 +0000

    Add missing asserts.
    
    These interface functions did not exist when the Storage object was created but they are now required.


src/storage/storage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/storage/storage.c b/src/storage/storage.c index 3000da4cb..0af9e00c7 100644 --- a/src/storage/storage.c +++ b/src/storage/storage.c @@ -58,7 +58,9 @@ storageNew( ASSERT(strSize(path) >= 1 && strPtr(path)[0] == '/'); ASSERT(driver != NULL); ASSERT(interface.exists != NULL); + ASSERT(interface.info != NULL); ASSERT(interface.list != NULL); + ASSERT(interface.infoList != NULL); ASSERT(interface.newRead != NULL); ASSERT(interface.newWrite != NULL); ASSERT(interface.pathRemove != NULL); [parent: 19ea699e90a4]