1
0
Fork 0

Don't dump all statments in DEBUG mode

master
Philip O'Toole 10 years ago
parent dc3f5fc454
commit 889a5560c4

@ -52,7 +52,7 @@ func (c *TransactionWriteCommandSet) CommandName() string {
// Executes a set of sqlite statements, within a transaction. All statements
// will take effect, or none.
func (c *TransactionWriteCommandSet) Apply(server raft.Server) (interface{}, error) {
log.Debug("Applying TransactionWriteCommandSet: %v", c.Stmts)
log.Debug("Applying TransactionWriteCommandSet of size %d", len(c.Stmts))
db := server.Context().(*db.DB)
err := db.StartTransaction()

Loading…
Cancel
Save