persistentstorage/sql/SRC/Security/SqlSecurity.cpp
branchGCC_SURGE
changeset 38 c4e342fcf0c8
parent 22 a7ba600cb39d
child 31 ba1c4f4a893f
equal deleted inserted replaced
27:ba32e40d9f36 38:c4e342fcf0c8
   103 */
   103 */
   104 EXPORT_C TInt RSqlSecurityPolicy::SetDbPolicy(TPolicyType aPolicyType, const TSecurityPolicy& aPolicy)
   104 EXPORT_C TInt RSqlSecurityPolicy::SetDbPolicy(TPolicyType aPolicyType, const TSecurityPolicy& aPolicy)
   105 	{
   105 	{
   106 	SQLUTRACE_PROFILER(this);
   106 	SQLUTRACE_PROFILER(this);
   107 	__SQLASSERT_ALWAYS(aPolicyType >= ESchemaPolicy && aPolicyType <= EWritePolicy, ESqlPanicBadArgument);
   107 	__SQLASSERT_ALWAYS(aPolicyType >= ESchemaPolicy && aPolicyType <= EWritePolicy, ESqlPanicBadArgument);
   108 	return Impl().SetDbPolicy(aPolicyType, aPolicy);
   108 	Impl().SetDbPolicy(aPolicyType, aPolicy);
       
   109 	return KErrNone;
   109 	}
   110 	}
   110 	
   111 	
   111 /**
   112 /**
   112 Sets a database object security policy of a specific type.
   113 Sets a database object security policy of a specific type.
   113 
   114