1
0
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:
Yoni Fogel
2013-04-16 23:57:45 -04:00
parent cd11b163cd
commit c191b67324
28 changed files with 231 additions and 94 deletions

View File

@@ -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