diff options
author | Markus Grüneis <gimpf@gimpf.org> | 2014-10-25 00:46:21 +0200 |
---|---|---|
committer | Markus Grüneis <gimpf@gimpf.org> | 2014-10-25 00:46:21 +0200 |
commit | c9a12699a6a25f6e2f69d9a987eff10754aa5d52 (patch) | |
tree | c9bce4ac1cdd521a4cebf2e820365b0cff3fccbd /src/hub | |
parent | hub: fix embarassing build errors (diff) |
hub: fix MySQLDialect initialization
Diffstat (limited to 'src/hub')
-rw-r--r-- | src/hub/src/spreadspace.org/sfive/s5store.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |