fix faulty insert statement
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 11 Oct 2010 17:20:06 +0000 (17:20 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 11 Oct 2010 17:20:06 +0000 (17:20 +0000)
cgi-bin/pgstatus.pl

index c1c338dbf45f1b17761820cd489159b25947cbd3..373d4f6b755e96acccef7aa42aaf7f9440d90c3c 100755 (executable)
@@ -351,10 +351,10 @@ else
 {
     $db->do(q{
              insert into build_status_latest
-                 (sysname, brancn, latest_snapshot)
+                 (sysname, branch, latest_snapshot)
              values (?,?,?)
              },
-           undef, $dbdate, $animal, $branch);
+           undef, $animal, $branch, $dbdate);
 }
 $db->commit;