1
0
Fork 0

360 Commits (d39c0c83674dfca94d86f537f4d9b0787b1ae13f)

Author SHA1 Message Date
Philip O'Toole e43b0bc421 Initialize SQLite store 9 years ago
Philip O'Toole 12aef34625 Start integrating actual SQLite support
Builds without error.
9 years ago
Fernando Álvarez 022b536ade Revert "Revert "Merge pull request #25 from oscillatingworks/deprecate-log4go""
This reverts commit fe415e6452.
10 years ago
Philip O'Toole fe415e6452 Revert "Merge pull request #25 from oscillatingworks/deprecate-log4go"
This reverts commit f2de6cc26e, reversing
changes made to cdc6021ae7.

The change causes a panic when the server is started like so:

$GOPATH/bin/rqlite ~/node.1
10 years ago
Fernando Álvarez 48f9b8bfd4 gometalinter: rqlite/db
db/db.go:14:1⚠️ dbName is unused
db/db.go:30:11⚠️ error return value not checked (os.Remove(dbPath))
db/db.go:63:18⚠️ error return value not checked (defer rows.Close())
db/db.go:15:⚠️ unused global variable dbName
10 years ago
Fernando Álvarez eba40187a9 Deprecate code.google.com/p/log4go
- Add new internal `rqlite/log` package
- Replace `log4go` with `rqlite/log`
- Adapt log formatting in existing logs

Fixes #21
10 years ago
Philip O'Toole b91f275d1b Enhance logging 10 years ago
Philip O'Toole 4758106e53 Log a warning if a query might change the database 10 years ago
Philip O'Toole 1629c63987 Construct some log strings more idiomatically 10 years ago
Philip O'Toole e69218ef4a Layout source in a more conventional style 10 years ago