mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
Added additional testing to test_db_already_exists>
git-svn-id: file:///svn/tokudb@693 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
57570eda1f
commit
e6cf81f3a9
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ int main() {
|
|||
r = db_create(&db, null_env, 0); CKERR(r);
|
||||
r = db->open(db, null_txn, fname, "main", DB_BTREE, DB_CREATE, 0666); CKERR(r);
|
||||
r = db->close(db, 0); CKERR(r);
|
||||
r = db_create(&db, null_env, 0); CKERR(r);
|
||||
r = db->open(db, null_txn, fname, "main", DB_BTREE, 0, 0666); CKERR(r);
|
||||
r = db->close(db, 0); CKERR(r);
|
||||
|
||||
r = db_create(&db, null_env, 0); CKERR(r);
|
||||
r = db->open(db, null_txn, fname, "main", DB_BTREE, DB_EXCL, 0666);
|
||||
|
|
Loading…
Add table
Reference in a new issue