Commit 10edd7e3 authored by gwenn's avatar gwenn

Misc.

parent dd971ca9
...@@ -455,6 +455,7 @@ func (c *Conn) BeginTransaction(t TransactionType) error { ...@@ -455,6 +455,7 @@ func (c *Conn) BeginTransaction(t TransactionType) error {
return c.exec("BEGIN EXCLUSIVE") return c.exec("BEGIN EXCLUSIVE")
} }
panic(fmt.Sprintf("Unsupported transaction type: '%#v'", t)) panic(fmt.Sprintf("Unsupported transaction type: '%#v'", t))
// return nil // Go 1.1 unreachable code
} }
// Commit commits transaction // Commit commits transaction
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment