db_compress()
- Posted by Virtual B <behaviorself at netzero.net> Mar 25, 2002
- 438 views
Hi all, Does anyone know if there are any known issues with db_compress() in EDS? The only way I can get it to work is *if* I am compressing a database that is in the same folder, *and* I open the database with only the file name instead of using the whole path, *and* I delete the .tmp file (created when database is compressed) beforehand. If I skip one of these steps, the program crashes when I try to compress. If I open the database with DB_LOCK_EXCLUSIVE, I get a message saying that the problem occurred in ulock_file(), type check failure, fn is -1. If I open with DB_LOCK_NO, I get a message saying that the problem occurred in db_close(), bad file number (-1). Is this a bug, or am I missing something? Thanks, Virtual B