Changeset 2612
- Timestamp:
- 02/24/08 11:41:39 (11 months ago)
- Files:
-
- trunk/bknr/datastore/src/bknr.indices.asd (modified) (1 diff)
- trunk/bknr/datastore/src/data/txn.lisp (modified) (1 diff)
- trunk/bknr/datastore/src/indices/indices-tests.lisp (modified) (1 diff)
- trunk/build.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bknr/datastore/src/bknr.indices.asd
r2559 r2612 26 26 (:file "indexed-class" :depends-on ("package" "indices")) 27 27 (:file "category-index" :depends-on ("package" "protocol" "indices")))))) 28 29 (defsystem :bknr.indices.test 30 :depends-on (:bknr.indices) 31 :components ((:module "indices" 32 :components ((:file "indices-tests"))))) 33 trunk/bknr/datastore/src/data/txn.lisp
r2611 r2612 152 152 (handler-case 153 153 (read f) 154 (error (e) (error "Invalid store random state")))) 154 (error (e) 155 (declare (ignore e)) 156 (error "Invalid store random state")))) 155 157 (initialize-store-random-state () 156 :report "Initialize the random state of the store" 158 :report "Initialize the random state of the store. Use 159 this to reinitialize the random state of the store when porting over a 160 store from another compiler. When transactions of the application 161 depend on the random state, you must snapshot your store before 162 porting to the new compiler." 157 163 (initialize-store-random-state store)) 158 164 (ignore-store-random-state () 159 :report "Ignore the on-disk random state of the store)" 165 :report "Ignore the on-disk random state of the store. 166 Use this if you want to test a store with another compiler, but do not 167 want to change the store permanently." 160 168 (setf (store-random-state store) (make-random-state t))))) 161 169 (initialize-store-random-state store))) trunk/bknr/datastore/src/indices/indices-tests.lisp
r1112 r2612 313 313 (eval-when (:compile-toplevel :load-toplevel :execute) 314 314 (defvar *class-index* 315 (index-create 'class-index :index-subclasses t)))315 (index-create 'class-index))) 316 316 317 317 (defclass base-object () trunk/build.lisp
r2606 r2612 54 54 (asdf:oos 'asdf:load-op :lisp-ecoop) 55 55 (asdf:oos 'asdf:load-op :bknr.datastore.test) 56 (asdf:oos 'asdf:load-op :bknr.indices.test) 56 57 57 58 (defun build ()
