diff options
author | cds <cds@sci3> | 2012-09-11 09:23:21 -0500 |
---|---|---|
committer | cds <cds@sci3> | 2012-09-11 09:23:21 -0500 |
commit | 40b65367c59385f3458b6876082478e276b4b76b (patch) | |
tree | acda0f6d64f1c4b09d5516c2c01b0d210f133f24 /sqlite3.h | |
parent | Fix erroneous error message for sql.Open() (diff) | |
download | golite-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