Changeset 32299 in project


Ignore:
Timestamp:
03/31/15 18:05:11 (5 years ago)
Author:
Thomas Chust
Message:

[sqlite3] Corrected example for make-busy-timeout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/sqlite3

    r32062 r32299  
    174174<enscript highlight="scheme">
    175175(define open-database/timeout
    176 (let ((handler (make-busy-timeout 2000)))
    177 (lambda (db-name)
    178 (let ((db (open-database db-name)))
    179 (set-busy-handler! db handler)
    180 db
     176  (let ((handler (make-busy-timeout 2000)))
     177    (lambda (db-name)
     178      (let ((db (open-database db-name)))
     179        (set-busy-handler! db handler)
     180        db))))
    181181</enscript>
    182182
Note: See TracChangeset for help on using the changeset viewer.