Changeset 9153 in project


Ignore:
Timestamp:
03/04/08 06:33:43 (12 years ago)
Author:
Jim Ursetto
Message:

sqlite3: Add enable-shared-cache\!

Location:
release/3/sqlite3/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • release/3/sqlite3/trunk/doc.scm

    r8688 r9153  
    248248          (p "Checks whether " (tt "sql") " comprises at least one complete SQL statement."))
    249249
     250        (procedure "(sqlite3:enable-shared-cache! <boolean>) => <void>"
     251          (p "Enables (or disables) the sharing of the database cache and schema data structures between connections to the same database."))
     252
    250253        (procedure "(sqlite3:library-version) => <string>"
    251254          (p "Returns a string identifying the version of SQLite in use.") )
     
    257260
    258261    (history
     262      (version "2.0.6" "Add " (tt "enable-shared-cache!") ", requires 3.3.0 or later. [Jim Ursetto]")
    259263      (version "2.0.5" "Added some <boolean> support. Change for NULL (<void>) handling. [Kon Lovett]")
    260264      (version "2.0.4" "Added " (code "sqlite3:fold-row") " & " (code "sqlite3:bind-parameters!") ". Fix for introduced bug in " (code "sqlite3:changes") ". [Kon Lovett]")
  • release/3/sqlite3/trunk/sqlite3.html

    r8688 r9153  
    441441<dd>
    442442<p>Checks whether <tt>sql</tt> comprises at least one complete SQL statement.</p></dd>
     443<dt class="definition"><strong>procedure:</strong> (sqlite3:enable-shared-cache! &lt;boolean&gt;) =&gt; &lt;void&gt;</dt>
     444<dd>
     445<p>Enables (or disables) the sharing of the database cache and schema data structures between connections to the same database.</p></dd>
    443446<dt class="definition"><strong>procedure:</strong> (sqlite3:library-version) =&gt; &lt;string&gt;</dt>
    444447<dd>
     
    452455<h3>Version</h3>
    453456<ul>
     457<li>2.0.6 Add <tt>enable-shared-cache!</tt>, requires 3.3.0 or later. [Jim Ursetto]</li>
    454458<li>2.0.5 Added some &lt;boolean&gt; support. Change for NULL (&lt;void&gt;) handling. [Kon Lovett]</li>
    455459<li>2.0.4 Added <code>sqlite3:fold-row</code> &amp; <code>sqlite3:bind-parameters!</code>. Fix for introduced bug in <code>sqlite3:changes</code>. [Kon Lovett]</li>
  • release/3/sqlite3/trunk/sqlite3.scm

    r8688 r9153  
    4949    sqlite3:complete?
    5050    sqlite3:library-version
     51    sqlite3:enable-shared-cache!
    5152    sqlite3:boolean-value ) )
    5253
     
    993994  (foreign-lambda c-string "sqlite3_libversion") )
    994995
     996;; Enables (disables) the sharing of the database cache and schema data
     997;; structures between connections to the same database.
     998(define (sqlite3:enable-shared-cache! enable?)
     999  (cond
     1000   (((foreign-lambda sqlite3:status "sqlite3_enable_shared_cache" bool) enable?)
     1001    => (abort-sqlite3-error 'sqlite3:enable-shared-cache! #f))))
     1002
    9951003;; Return a Scheme boolean for the usual SQLite column boolean values
    9961004(define (sqlite3:boolean-value v)
  • release/3/sqlite3/trunk/sqlite3.setup

    r8688 r9153  
    1212  `(,so-file
    1313    "sqlite3.html" "egg.jpg")
    14   '((version "2.0.5")
     14  '((version "2.0.6")
    1515    (documentation "sqlite3.html")))
Note: See TracChangeset for help on using the changeset viewer.