summaryrefslogtreecommitdiff
path: root/mg_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'mg_db.c')
-rw-r--r--mg_db.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mg_db.c b/mg_db.c
index ec39ad6..9bd66ee 100644
--- a/mg_db.c
+++ b/mg_db.c
@@ -325,6 +325,8 @@ mgDb::Connect ()
m_database_found = Create();
}
}
+ if (m_database_found)
+ m_database_found = SetCharset();
return m_database_found;
}