summaryrefslogtreecommitdiff
path: root/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'db.c')
-rw-r--r--db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.c b/db.c
index e01679d..0c463d9 100644
--- a/db.c
+++ b/db.c
@@ -22,7 +22,7 @@ static const char *sql_upgrades[] = {
"PRIMARY KEY('user')"
");",
"CREATE VIEW 'stat_global'"
- "AS"
+ "AS "
"SELECT * FROM (SELECT COUNT(user), SUM(i), MAX(i), AVG(i) FROM stats), (SELECT COUNT(msg) FROM says);"
};