[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/office/pekunia/pekunia/model
From:       Ruurd Pels <ruurd () tiscali ! nl>
Date:       2005-07-31 22:58:01
Message-ID: 1122850681.592619.27062.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 441792 by ruurd:

Fix binding to use colon instead of semi. darn

 M  +1 -1      unitdbhelper.cpp  


--- trunk/playground/office/pekunia/pekunia/model/unitdbhelper.cpp #441791:441792
@@ -102,7 +102,7 @@
     theUnit->setIdent(Sequencer::next("unit_ident_seq"));
 
     QSqlQuery dq = Database::getInstance().prepare("INSERT INTO unit VALUES \
                (:admin_ident, :ident, :code, :description, :prec)");
-    dq.bindValue(";admin_ident", theUnit->getAdmin()->getIdent());
+    dq.bindValue(":admin_ident", theUnit->getAdmin()->getIdent());
     dq.bindValue(":ident", theUnit->getIdent());
     dq.bindValue(":code", theUnit->getCode().c_str());
     dq.bindValue(":description", theUnit->getDescription().c_str());


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic