From: Tom D. <td...@vg...> - 2000-05-03 16:26:27
|
On Tue, 2 May 2000, Tom Byrum wrote: > Is it possible to check memory, and if there is not enough use the direct > method after showing a warning and chance to back out? The code that I have added since last night checks if adding a record to the copy fails and then backs out. A "direct method" wouldn't work with the new isolation layer since it likes complete control of the database. Plus, it is the new isolation layer that makes rebuilding the database into a copy extremely easy and is why I added the feature. So creating a copy is what'll happen. Rebuilds shuld happen so infrequently that requiring the user to have available memory should not be a problem. Please note that changing only the field names does not force a rebuild. The code is smart enough to detect the difference. Oh ... if you add fields, wait for the next test release, otherwise a crash will happen. (Tom forgot that looking up nonexistent fields is bad. :) ) Tom |