pkgsrc/databases/cstore/patches/patch-al

34 lines
628 B
Text
Raw Normal View History

$NetBSD: patch-al,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- src/Util/BDBFile.cpp 2007/11/07 21:22:30 1.1
+++ src/Util/BDBFile.cpp 2007/11/07 21:37:32
@@ -275,6 +275,7 @@
void BDBFile::showStats()
{
+#if 0
DB_BTREE_STAT *pStat;
dbHandle->stat(&pStat, 0);
@@ -284,10 +285,12 @@
cout << bdbFileName << " contains "
<< pStat->bt_ndata << " records\n";
free(pStat);
+#endif
}
u_long BDBFile::getRecordCount()
{
+#if 0
DB_BTREE_STAT *pStat;
dbHandle->stat(&pStat, 0);
@@ -297,6 +300,7 @@
u_long cnt = pStat->bt_ndata;
free(pStat);
return cnt;
+#endif
}
void BDBFile::dumpDB()