diff -r 28839de615b4 -r 26645d81f48d persistentstorage/sql/SRC/Client/SqlDatabaseImpl.cpp --- a/persistentstorage/sql/SRC/Client/SqlDatabaseImpl.cpp Thu Aug 19 11:36:21 2010 +0300 +++ b/persistentstorage/sql/SRC/Client/SqlDatabaseImpl.cpp Tue Aug 31 16:57:14 2010 +0300 @@ -171,7 +171,7 @@ TPtrC8 securityPolicyData; if(aFunction == ESqlSrvDbCreateSecure) { - __SQLASSERT(aSecurityPolicy != NULL, ESqlPanicBadArgument); + __ASSERT_DEBUG(aSecurityPolicy != NULL, __SQLPANIC(ESqlPanicBadArgument)); const RSqlBufFlat& bufFlat = aSecurityPolicy->BufFlat(); securityPolicyData.Set(bufFlat.BufDes()); }