diff options
Diffstat (limited to 'db/c_test.c')
-rw-r--r-- | db/c_test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/c_test.c b/db/c_test.c index 9d6dfec..7cd5ee0 100644 --- a/db/c_test.c +++ b/db/c_test.c @@ -165,6 +165,9 @@ int main(int argc, char** argv) { char* err = NULL; int run = -1; + CheckCondition(leveldb_major_version() >= 1); + CheckCondition(leveldb_minor_version() >= 1); + snprintf(dbname, sizeof(dbname), "%s/leveldb_c_test-%d", GetTempDir(), |