Re: ONLINE 6.0 Locking
Posted in 1995
In article <3rqc7f$qfd@imp.demon.co.uk> tonytd@ttyrwhit.demon.co.uk "Tony Tyrwhitt-Drake" writes: > In article <3rn90h$6c0@gw.PacBell.COM>, jesolom@pbrock.srv.PacBell.COM (Rock > Solomon) says: > > > >I have a database with logging turned off, because I'm making a lot of changes > >to it, and will turn logging on later. My problem is that I have declared a > >cursor that includes all the records in a table, and update particular ones > >in the process. What happens is the program eventually fails because the lock > >table overflows. Without "logging", how do I "commit" these updates every so > >often so this does not occur? > > You could try getting an exclusive lock on the whole table at the start of > your program - This would probably be the only way out and it would > mean that nobody else can play with the table until you are finished. > There are some versions of SE 5.00 & 5.01 which this won't work with as they have a bug which results in a UNIX lock being created for every row updted despite the 'EXCLUSIVE' lock mode. This was fixed in 5.02. The original posting didn't say which engine they were using, so this may not be relevent to them! -- ============================================================================ Sally Woolrich | This mail contains my personal sally@excelsis.demon.co.uk | views not those of my employer! ============================================================================