|
From: Mike <mi...@aa...> - 2004-04-30 13:01:25
|
br...@br... wrote: >Hi, > >There is indeed a "deletion flag" for rows in an MDB database. >However, we've always approached it from the opposite end of trying >not to read them. I'd be curious to see how this works out, I don't >quite fully understand the process by which Jet deletes rows, I just >know how to deal with them once they are there. > >You may try this: > >bring down the source code for mdbtools. >in the file src/libmdb/mem.c find the function mdb_alloc_tabledef() >after the memset add: > >table->noskip_del = 1; > >now, you'll also need to turn on the old brute force reads, define the >variable SLOW_READ > >export CFLAGS="-D SLOW_READ" >./configure >make > >now you should have a copy of mdbtools that will read any page that >appears to be owned by the table and will read deleted rows on those >pages. > >Good Luck, > >Brian > > > Going great untill part way through the make, I got... /bin/sh ../../libtool --mode=link gcc -g -O2 -DSQL -o mdb-sql mdb-sql.o ../libmdb/libmdb.la ../sql/libmdbsql.la -lglib-2.0 -lfl gcc -g -O2 -DSQL -o .libs/mdb-sql mdb-sql.o ../libmdb/.libs/libmdb.so ../sql/.libs/libmdbsql.so /usr/lib/libglib-2.0.so -lfl -Wl,--rpath -Wl,/usr/local/lib ../sql/.libs/libmdbsql.so: undefined reference to `yylex' ../sql/.libs/libmdbsql.so: undefined reference to `yyerror' collect2: ld returned 1 exit status make[2]: *** [mdb-sql] Error 1 make[2]: Leaving directory `/tmp/mdbtools-0.5/src/util' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/mdbtools-0.5/src' make: *** [all-recursive] Error 1 Looking on the web, people seemed to think it was a bison or flex problem. Have installed the latest of both, but no change. Way outside my sphere of knowledge, can anyone suggest a fix? -- Have a Nice Day! Mike |