Commit 5ecd9184 authored by David Johnson's avatar David Johnson

%d -> %s in python mysql queries; the mysql module figures out what type

the value is and wraps it appropriately in the query.
parent 3ee32576
...@@ -427,7 +427,7 @@ def MarkPhysNodeDown(pnode): ...@@ -427,7 +427,7 @@ def MarkPhysNodeDown(pnode):
DBQueryFatal("lock tables reserved write") DBQueryFatal("lock tables reserved write")
DBQueryFatal("update reserved set " DBQueryFatal("update reserved set "
" exptidx=%d,pid=%s,eid=%s,rsrv_time=now() " " exptidx=%s,pid=%s,eid=%s,rsrv_time=now() "
"where node_id=%s", "where node_id=%s",
(exptidx,pid, eid, pnode)) (exptidx,pid, eid, pnode))
DBQueryFatal("unlock tables") DBQueryFatal("unlock tables")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment