mirror of
https://github.com/MariaDB/server.git
synced 2025-12-01 17:39:21 +03:00
Addresses #1531 Ported stat/fstat. toku_stat, toku_fstat (struct is toku_struct_stat), poisoned the use of the functions
git-svn-id: file:///svn/toku/tokudb@10491 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
@@ -41,8 +41,8 @@ test_txn_close_open_commit (void) {
|
||||
r = db->open(db, txn, "test.db", 0, DB_BTREE, DB_CREATE, S_IRWXU+S_IRWXG+S_IRWXO); assert(r == 0);
|
||||
|
||||
{
|
||||
struct stat statbuf;
|
||||
r = stat(ENVDIR "/test.db", &statbuf);
|
||||
toku_struct_stat statbuf;
|
||||
r = toku_stat(ENVDIR "/test.db", &statbuf);
|
||||
assert(r==0);
|
||||
}
|
||||
|
||||
@@ -64,8 +64,8 @@ test_txn_close_open_commit (void) {
|
||||
r = env->close(env, 0); assert(r == 0);
|
||||
|
||||
{
|
||||
struct stat statbuf;
|
||||
r = stat(ENVDIR "/test.db", &statbuf);
|
||||
toku_struct_stat statbuf;
|
||||
r = toku_stat(ENVDIR "/test.db", &statbuf);
|
||||
assert(r==0);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user