search for: get_open_revision_numb

Displaying 2 results from an estimated 2 matches for "get_open_revision_numb".

2004 Dec 15
0
btree function question ??
...wly , Is that ok ?? Thanks Hao Kuang , Ku --------------------------test code is ------------------------ #include "btree.h" using namespace std; int main() { Btree table( "test", false ); if( !table.exists() ) table.create(8192); table.open(); int revision = table.get_open_revision_number(); printf( " revision is %d\n " , revision ); printf( "entry count %d \n" , table.get_entry_count() ); string tag; char temp[1000]; for( int i = 0 ; i < 1000000 ; i++ ) { sprintf( temp , "%i" , i ); tag = "test"; tag.append( temp...
2004 Dec 15
1
btree function question ?? ( prev charset error , send again )
...? Thanks Hao Kuang , Ku kayjean@gmail.com --------------------------test code is ------------------------ #include "btree.h" using namespace std; int main() { Btree table( "test", false ); if( !table.exists() ) table.create(8192); table.open(); int revision = table.get_open_revision_number(); printf( " revision is %d\n " , revision ); printf( "entry count %d \n" , table.get_entry_count() ); string tag; char temp[1000]; for( int i = 0 ; i < 1000000 ; i++ ) { sprintf( temp , "%i" , i ); tag = "test"; tag.append( temp...