]> Some of my projects - localmylist.git/commitdiff
Fix typo.
authorAPTX <marek321@gmail.com>
Sun, 26 May 2013 02:25:50 +0000 (04:25 +0200)
committerAPTX <marek321@gmail.com>
Sun, 26 May 2013 02:25:50 +0000 (04:25 +0200)
This doesn't actually fix anything. Named binds are emulated with positional ones on pg so the result should be the same.

localmylist/database.cpp

index f353c021be63d259b1dcbb88b42e46b31e6646a4..9106f76e25e2200c75c35640585911b85268943f 100644 (file)
@@ -1198,7 +1198,7 @@ bool Database::clearPendingMyListUpdate(const PendingMyListUpdate &request)
        "UPDATE pending_mylist_update SET finished = NOW() "
        "       WHERE update_id = :updateId ");
 
-       q.bindValue(":update_id", request.updateId);
+       q.bindValue(":updateId", request.updateId);
        return exec(q);
 }