Browse Source

fix typo in sql query

flashmob 6 years ago
parent
commit
cb550348c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backends/p_guerrilla_db_redis.go

+ 1 - 1
backends/p_guerrilla_db_redis.go

@@ -150,7 +150,7 @@ func (g *GuerrillaDBAndRedisBackend) prepareInsertQuery(rows int, db *sql.DB) *s
 	if g.cache[rows-1] != nil {
 		return g.cache[rows-1]
 	}
-	sqlstr := "INSERT INTO %s " + g.config.Table + "" +
+	sqlstr := "INSERT INTO " + g.config.Table + "" +
 		"(" +
 		"`date`, " +
 		"`to`, " +