Explorar o código

fix typo in sql query

flashmob %!s(int64=6) %!d(string=hai) anos
pai
achega
cb550348c4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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`, " +