Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Merge updates from trunk. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | experimental |
Files: | files | file ages | folders |
SHA1: |
077e38a46265149682938f207328a6cb |
User & Date: | mistachkin 2014-09-24 05:11:35.211 |
Context
2014-09-24
| ||
05:54 | Fix several issues with the initial check-in on this branch. check-in: 8aa9c8c9e4 user: mistachkin tags: experimental | |
05:11 | Merge updates from trunk. check-in: 077e38a462 user: mistachkin tags: experimental | |
05:09 | In the test suite infrastructure, make sure transactions and/or connections 'leaked' by tests are cleaned up before calling the native shutdown function. check-in: cfe8932268 user: mistachkin tags: trunk | |
04:15 | Experimental changes to remove superfluous calls from the SQLiteDataReader class. These changes are not yet completely correct. Pursuant to [e122d26e70]. check-in: ab425e79d7 user: mistachkin tags: experimental | |
Changes
Changes to Tests/common.eagle.
︙ | ︙ | |||
2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 | # that need to make sure logging is initialized (i.e. just in case # the SQLite core library was initialized in the process prior to # the SQLiteLog class being able to setup its logging callback). # Normally, this should only be performed if SQLite is loaded and # ready for use by the test suite. # if {$force || [isSQLiteReady]} then { # # BUGFIX: Before calling the native shutdown function, make sure both # of the PRAGMA related directory names are freed. # checkForSQLiteDirectories $channel true if {[catch { | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 | # that need to make sure logging is initialized (i.e. just in case # the SQLite core library was initialized in the process prior to # the SQLiteLog class being able to setup its logging callback). # Normally, this should only be performed if SQLite is loaded and # ready for use by the test suite. # if {$force || [isSQLiteReady]} then { # # BUGFIX: Make sure that any "leaked" transactions and/or connections # are cleaned up before calling the native shutdown function. # foreach transaction [info transactions] { if {[string match \ System#Data#SQLite#SQLiteTransaction#* $transaction]} then { if {[catch { sql transaction rollback $transaction } error] == 0} then { if {!$quiet} then { tputs $channel [appendArgs \ "---- rolled back leaked transaction \"" \ $transaction \"\n] } } else { if {!$quiet} then { tputs $channel [appendArgs \ "==== WARNING: failed to rollback leaked transaction \"" \ $transaction "\", error: " \n\t $error \n] } } } } foreach db [info connections] { if {[string match \ System#Data#SQLite#SQLiteConnection#* $db]} then { if {[catch {sql close $db} error] == 0} then { if {!$quiet} then { tputs $channel [appendArgs \ "---- closed leaked database \"" $db \"\n] } } else { if {!$quiet} then { tputs $channel [appendArgs \ "==== WARNING: failed to close leaked database \"" \ $db "\", error: " \n\t $error \n] } } } } # # BUGFIX: Before calling the native shutdown function, make sure both # of the PRAGMA related directory names are freed. # checkForSQLiteDirectories $channel true if {[catch { |
︙ | ︙ |