Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add test suite infrastructure helper procedure to return the default page size. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
8a5f7d7254030f5ca362bd361ab9d9ee |
User & Date: | mistachkin 2016-03-22 15:07:25.049 |
Context
2016-03-22
| ||
17:01 | More test portability enhancements. check-in: ae12ca01d9 user: mistachkin tags: trunk | |
15:16 | Update SQLite core library to the latest trunk code. check-in: 9e6956192d user: mistachkin tags: core312 | |
15:07 | Add test suite infrastructure helper procedure to return the default page size. check-in: 8a5f7d7254 user: mistachkin tags: trunk | |
15:07 | Limit the memory usage test to running on Windows. check-in: 4445d7b93d user: mistachkin tags: trunk | |
Changes
Changes to lib/System.Data.SQLite/common.eagle.
︙ | ︙ | |||
1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 | # # NOTE: Return non-zero if the named table is present. # return [expr { [sql execute -execute scalar $db $sql [list param1 String $name]] > 0 }] } proc extractSystemDataSQLiteExceptionMessage { value } { # # NOTE: If the string conforms to format of the normal exception # error strings, extract and return only the error message # portion itself. # | > > > > > > > > > > > > | 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 | # # NOTE: Return non-zero if the named table is present. # return [expr { [sql execute -execute scalar $db $sql [list param1 String $name]] > 0 }] } proc getDbDefaultPageSize {} { try { set db [sql open -type SQLite {Data Source=:memory:;}] return [sql execute -execute scalar $db "PRAGMA page_size;"] } finally { if {[info exists db]} then { catch {sql close $db} unset -nocomplain db } } } proc extractSystemDataSQLiteExceptionMessage { value } { # # NOTE: If the string conforms to format of the normal exception # error strings, extract and return only the error message # portion itself. # |
︙ | ︙ |