Commit Graph

17 Commits

Author SHA1 Message Date
Qi Xiao
6f21bc690f Go back to mattn/go-sqlite3. 2016-02-20 03:04:44 +01:00
Qi Xiao
5c03407a8a Wait for store jobs to finish when exiting.
This fixes #144 #147.
2016-02-20 02:32:12 +01:00
Qi Xiao
098965cfac Also close the database.
Doesn't help with #147 though.
2016-02-20 02:27:26 +01:00
Qi Xiao
3c75e71a8b Use a fork of mxk/go-sqlite. 2016-02-20 01:47:40 +01:00
Qi Xiao
8cb35dfafc Fix a NullPointerException. 2016-02-20 01:37:38 +01:00
Qi Xiao
8900e57707 Switch to mxk/go-sqlite for the SQLite3 backend.
This one has the advantage of supporting SQLite3-specific operations.
2016-02-20 01:22:22 +01:00
Qi Xiao
0f4d68a5bd Close DB before execing.
Weirdly, this does not fix the database lock bug.
2016-02-15 14:13:50 +01:00
Qi Xiao
56490fcd31 Support overriding the database file. 2016-02-13 00:35:33 +01:00
Qi Xiao
f454cfb386 store: Add a lastAmongDup column to the cmd table. 2016-02-13 00:21:46 +01:00
Qi Xiao
2468aece8d store: createTable -> initTable 2016-02-12 21:37:14 +01:00
Qi Xiao
8125e2f9e6 golint fixes. 2016-02-07 23:23:16 +01:00
Qi Xiao
16ed49d117 store: add package doc 2016-01-29 03:00:41 +01:00
Cheer Xiao
e811e42cfe golint fixes for store 2015-02-24 21:53:34 +01:00
Cheer Xiao
1d59566aaf Implement module file search mechanism for "use"
This resolves issue #44.
2015-02-23 18:36:46 +01:00
Cheer Xiao
f0c2bc11fb Export store.{ensureDataDir errEmptyHOME} 2015-02-09 13:59:05 +01:00
Cheer Xiao
ab4c961cf2 Ditch gorp dependency, use plain database/sql 2014-10-01 22:46:17 +02:00
Cheer Xiao
868d1c5d1f Add store package. 2014-10-01 00:57:38 +02:00