Bug 935413 - Fix dumb sql error in Seer. r=mcmanus a=bajaj
authorNicholas Hurley <hurley@todesschaf.org>
Mon, 18 Nov 2013 13:18:45 -0800
changeset 167469 97f50dda2d9a7e99b50cdb8e40568bb01ebc33e5
parent 167468 63d554bec64a866442aa6dd6b88d4c3e0dd7fdcc
child 167470 c0c46ae54ed7bf3b2768e7ed3d5b7a9b5b810937
push id428
push userbbajaj@mozilla.com
push dateTue, 28 Jan 2014 00:16:25 +0000
treeherdermozilla-release@cd72a7ff3a75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcmanus, bajaj
bugs935413
milestone27.0a2
Bug 935413 - Fix dumb sql error in Seer. r=mcmanus a=bajaj
netwerk/base/src/Seer.cpp
--- a/netwerk/base/src/Seer.cpp
+++ b/netwerk/base/src/Seer.cpp
@@ -520,17 +520,17 @@ Seer::EnsureInitStorage()
     // We've started up before. Update our startup statistics
     stmt->GetInt32(0, &mStartupCount);
     stmt->GetInt64(1, &mLastStartupTime);
 
     // This finalizes the statement
     stmt = nullptr;
 
     rv = mDB->CreateStatement(
-        NS_LITERAL_CSTRING("UPDATE moz_startups SET startups = :startup_count "
+        NS_LITERAL_CSTRING("UPDATE moz_startups SET startups = :startup_count, "
                            "last_startup = :startup_time;\n"),
         getter_AddRefs(stmt));
     NS_ENSURE_SUCCESS(rv, rv);
 
     rv = stmt->BindInt32ByName(NS_LITERAL_CSTRING("startup_count"),
                                mStartupCount + 1);
     NS_ENSURE_SUCCESS(rv, rv);