aboutsummaryrefslogtreecommitdiff
path: root/sqlite3.h
diff options
context:
space:
mode:
authorcds <cds@sci3>2012-09-11 09:23:21 -0500
committercds <cds@sci3>2012-09-11 09:23:21 -0500
commit40b65367c59385f3458b6876082478e276b4b76b (patch)
treeacda0f6d64f1c4b09d5516c2c01b0d210f133f24 /sqlite3.h
parentFix erroneous error message for sql.Open() (diff)
downloadgolite-40b65367c59385f3458b6876082478e276b4b76b.tar.gz
golite-40b65367c59385f3458b6876082478e276b4b76b.tar.xz
Added missing db.Close() and rows.Close() calls; fixes tests on vmhgfs filesystems.
Individual tests were never successfully removing 'foo.db' (the error was ignored), which caused everything but the first test to fail on my vmhgfs filesystem. Adding the relevant defer db.Close() and rows.Close() calls fixed the leaks, enabling os.Remove() to work.
Diffstat (limited to 'sqlite3.h')
0 files changed, 0 insertions, 0 deletions