From c9a12699a6a25f6e2f69d9a987eff10754aa5d52 Mon Sep 17 00:00:00 2001 From: Markus Grüneis Date: Sat, 25 Oct 2014 00:46:21 +0200 Subject: hub: fix MySQLDialect initialization --- src/hub/src/spreadspace.org/sfive/s5store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hub') diff --git a/src/hub/src/spreadspace.org/sfive/s5store.go b/src/hub/src/spreadspace.org/sfive/s5store.go index f96ef9f..a79325d 100644 --- a/src/hub/src/spreadspace.org/sfive/s5store.go +++ b/src/hub/src/spreadspace.org/sfive/s5store.go @@ -78,7 +78,7 @@ func initDb(mysql bool, path string) (res *gorp.DbMap, hubId string, err error) if err != nil { return } - dialect = gorp.MySQLDialect{} + dialect = gorp.MySQLDialect{"InnoDB", "UTF8"} } else { db, err = sql.Open("sqlite3", path) if err != nil { -- cgit v1.2.3