mirror of https://github.com/axmolengine/axmol.git
fix jenkins sql table name
This commit is contained in:
parent
f11c287ab6
commit
9e538fce48
|
@ -77,7 +77,7 @@ def close_db(db):
|
||||||
|
|
||||||
def save_build_stats(db, pr, filename, size):
|
def save_build_stats(db, pr, filename, size):
|
||||||
cursor = db.cursor()
|
cursor = db.cursor()
|
||||||
sql = "INSERT INTO %s (number, size, createdTime) VALUES(%d, %d, now())" % (filename, pr, size)
|
sql = "INSERT INTO \"%s\" (number, size, createdTime) VALUES(%d, %d, now())" % (filename, pr, size)
|
||||||
print sql
|
print sql
|
||||||
cursor.execute(sql)
|
cursor.execute(sql)
|
||||||
db.commit()
|
db.commit()
|
||||||
|
|
Loading…
Reference in New Issue