diff -r 7a522c0700d3 -r cce6680bbf1c persistentstorage/sql/SRC/Server/SqlSrvStatement.cpp --- a/persistentstorage/sql/SRC/Server/SqlSrvStatement.cpp Fri May 14 13:32:10 2010 +0100 +++ b/persistentstorage/sql/SRC/Server/SqlSrvStatement.cpp Thu Jul 01 17:02:22 2010 +0100 @@ -217,10 +217,6 @@ __SQLASSERT(iStmtHandle != NULL, ESqlPanicInvalidObj); (void)sqlite3SymbianLastOsError();//clear last OS error - if(sqlite3_expired(iStmtHandle)) - { - __SQLLEAVE_IF_ERROR(KSqlErrStmtExpired); - } TSqlBufRIterator it; it.Set(aParamBuf); @@ -516,10 +512,6 @@ __SQLASSERT(aParamIndex < iParamBufArray.Count(), ESqlPanicBadArgument); __SQLASSERT(iParamBufArray[aParamIndex] != NULL, ESqlPanicBadArgument); (void)sqlite3SymbianLastOsError();//clear last OS error - if(sqlite3_expired(iStmtHandle)) - { - __SQLLEAVE_IF_ERROR(KSqlErrStmtExpired); - } //Bind the parameter value. //SQLITE_STATIC is used as an argument, because the text/blob data will be kept and can be used by the next bind call HSqlSrvStmtParamBuf& paramBuf = *iParamBufArray[aParamIndex];