Fix a recently introduced resource leak in test file incrblob2.test (forgot to close a blob handle). (CVS 5223)
FossilOrigin-Name: 88e1c6092e48c860950d3437f264785243bb67ed
This commit is contained in:
parent
99e925da51
commit
dfdf9844aa
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
||||
C Fix\sa\sproblem\swith\sthe\sincremental\sblob\sAPI.\ssqlite3_blob_open()\swas\salways\sreading\sthe\sdata\sfor\sthe\sleftmost\scolumn\sof\sthe\srow\sthat\sthe\sopened\sblob\swas\sstored\sin.\sIf\sthis\scolumn\shappened\sto\scontain\sa\s(the)\slarge\sblob,\ssqlite\swould\smake\sa\slarge\smemory\sallocation\sto\sread\sthe\sdata\sinto.\sWhich\sdefeats\sthe\spurpose\sof\susing\sincremental\sblobs.\s(CVS\s5222)
|
||||
D 2008-06-16T14:19:58
|
||||
C Fix\sa\srecently\sintroduced\sresource\sleak\sin\stest\sfile\sincrblob2.test\s(forgot\sto\sclose\sa\sblob\shandle).\s(CVS\s5223)
|
||||
D 2008-06-16T14:36:01
|
||||
F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
|
||||
F Makefile.in dc5608df93faf4406cfd7a1c8ed9ab93d8bfbfd5
|
||||
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
||||
@ -340,7 +340,7 @@ F test/in.test 763a29007a4850d611ac4441bfa488fb9969ad30
|
||||
F test/in2.test b1f447f4f0f67e9f83ff931e7e2e30873f9ea055
|
||||
F test/in3.test dc62b080ed79898121c61c91118b4d1e111f1438
|
||||
F test/incrblob.test 4455fffd08b2f9418a9257e18b135d72273eff3e
|
||||
F test/incrblob2.test b34789e6e8bebcf35e1c607e380324501b5b25dc
|
||||
F test/incrblob2.test 4dc86910dea806f75c941e91785cb1da69c14a6f
|
||||
F test/incrblob_err.test 00a8bcb25cb493d53f4efed0f5cf09c386534940
|
||||
F test/incrvacuum.test 1a2b0bddc76629afeb41e3d8ea3e4563982d16b9
|
||||
F test/incrvacuum2.test 46ef65f377e3937cfd1ba66e818309dab46f590d
|
||||
@ -594,7 +594,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
|
||||
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
|
||||
F tool/speedtest8.c 1dbced29de5f59ba2ebf877edcadf171540374d1
|
||||
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
|
||||
P 85483c8fb3b45281ce07e84349841fc80e560b1f
|
||||
R 5f72c26d35bb66f062d5eee386745de3
|
||||
P 1b9478da2f421c1270e76297324fff8037d2f231
|
||||
R 60087b858e49df0fe447344466833ade
|
||||
U danielk1977
|
||||
Z 23cd7f6ee72d1c4eb1181335292f4852
|
||||
Z 896538a54b48dcf65f77aa8165a8f5a9
|
||||
|
@ -1 +1 @@
|
||||
1b9478da2f421c1270e76297324fff8037d2f231
|
||||
88e1c6092e48c860950d3437f264785243bb67ed
|
@ -12,7 +12,7 @@
|
||||
# Test that it is possible to have two open blob handles on a single
|
||||
# blob object.
|
||||
#
|
||||
# $Id: incrblob2.test,v 1.4 2008/06/16 14:19:58 danielk1977 Exp $
|
||||
# $Id: incrblob2.test,v 1.5 2008/06/16 14:36:01 danielk1977 Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@ -348,5 +348,9 @@ do_test incrblob2-7.4 {
|
||||
expr {[sqlite3_memory_highwater]<(5 * 1024 * 1024)}
|
||||
} {1}
|
||||
|
||||
do_test incrblob2-7.5 {
|
||||
close $h
|
||||
} {}
|
||||
|
||||
finish_test
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user