Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a recently introduced resource leak in test file incrblob2.test (forgot to close a blob handle). (CVS 5223) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
88e1c6092e48c860950d3437f2647852 |
User & Date: | danielk1977 2008-06-16 14:36:01.000 |
Context
2008-06-16
| ||
20:51 | Clean up obfuscated code in sqlite3_table_column_meta_data(). Be sure to invoke sqlite3_initialize() within sqlite3_mprintf(). (CVS 5224) (check-in: bb4edb5396 user: drh tags: trunk) | |
14:36 | Fix a recently introduced resource leak in test file incrblob2.test (forgot to close a blob handle). (CVS 5223) (check-in: 88e1c6092e user: danielk1977 tags: trunk) | |
14:19 | Fix a problem with the incremental blob API. sqlite3_blob_open() was always reading the data for the leftmost column of the row that the opened blob was stored in. If this column happened to contain a (the) large blob, sqlite would make a large memory allocation to read the data into. Which defeats the purpose of using incremental blobs. (CVS 5222) (check-in: 1b9478da2f user: danielk1977 tags: trunk) | |
Changes
Changes to test/incrblob2.test.
︙ | ︙ | |||
8 9 10 11 12 13 14 | # May you share freely, never taking more than you give. # #*********************************************************************** # # Test that it is possible to have two open blob handles on a single # blob object. # | | | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # May you share freely, never taking more than you give. # #*********************************************************************** # # Test that it is possible to have two open blob handles on a single # blob object. # # $Id: incrblob2.test,v 1.5 2008/06/16 14:36:01 danielk1977 Exp $ # set testdir [file dirname $argv0] source $testdir/tester.tcl ifcapable {!autovacuum || !pragma || !incrblob} { finish_test |
︙ | ︙ | |||
343 344 345 346 347 348 349 350 351 352 | seek $h 0 end tell $h } [expr 10 * 1024 * 1024] do_test incrblob2-7.4 { expr {[sqlite3_memory_highwater]<(5 * 1024 * 1024)} } {1} finish_test | > > > > | 343 344 345 346 347 348 349 350 351 352 353 354 355 356 | seek $h 0 end tell $h } [expr 10 * 1024 * 1024] do_test incrblob2-7.4 { expr {[sqlite3_memory_highwater]<(5 * 1024 * 1024)} } {1} do_test incrblob2-7.5 { close $h } {} finish_test |