secureswitools/swisistools/source/dbmanager/dblayer.cpp
changeset 33 8110bf1194d1
parent 25 98b66e4fb0be
child 50 c6e8afe0ba85
child 60 245df5276b97
equal deleted inserted replaced
29:26b6f0522fd8 33:8110bf1194d1
   885 		stmtAppProperty->BindInt(4, appPropertyIter->iServiceUid);
   885 		stmtAppProperty->BindInt(4, appPropertyIter->iServiceUid);
   886 		stmtAppProperty->BindInt(5, appPropertyIter->iIntValue);
   886 		stmtAppProperty->BindInt(5, appPropertyIter->iIntValue);
   887 
   887 
   888 		if(appPropertyIter->iIsStr8Bit)
   888 		if(appPropertyIter->iIsStr8Bit)
   889 			{
   889 			{
   890 			std::string str = Util::wstring2string(appPropertyIter->iStrValue);
   890 			stmtAppProperty->BindBinary(6, appPropertyIter->iStrValue);
   891 			std::string decodedString = Util::Base64Decode(str);
       
   892 			stmtAppProperty->BindBinary(6, str);
       
   893 			}
   891 			}
   894 		else
   892 		else
   895 			{
   893 			{
   896 			stmtAppProperty->BindStr(6, appPropertyIter->iStrValue);
   894 			stmtAppProperty->BindStr(6, appPropertyIter->iStrValue);
   897 			}
   895 			}