o2on svn commit
o2on-****@lists*****
2008年 7月 21日 (月) 16:38:38 JST
Revision: 105 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=o2on&view=rev&rev=105 Author: electrolysis Date: 2008-07-21 16:38:38 +0900 (Mon, 21 Jul 2008) Log Message: ----------- FIX: SQL文で変数がバインドされていない箇所がある Modified Paths: -------------- branches/BRANCH_0043/o2on/src.o2on/O2DatDB.cpp Modified: branches/BRANCH_0043/o2on/src.o2on/O2DatDB.cpp =================================================================== --- branches/BRANCH_0043/o2on/src.o2on/O2DatDB.cpp 2008-07-21 07:24:31 UTC (rev 104) +++ branches/BRANCH_0043/o2on/src.o2on/O2DatDB.cpp 2008-07-21 07:38:38 UTC (rev 105) @@ -1286,8 +1286,8 @@ goto error; if (!bind(db, stmt_update, 5, time(NULL))) goto error; -// if (!bind(db, stmt_update, 6, (uint64)0)) -// goto error; + if (!bind(db, stmt_update, 6, it->hash)) + goto error; err = sqlite3_step(stmt_update); if (err != SQLITE_ROW && err != SQLITE_DONE)