We have this bug using mariaDB support on last FWH Build, i have user table with data encryption by MySql AES_ENCYPT() Function, on last version of FWH code retrieve data but gets all fields blank, i run query on Heidi or sqlyog or Tdolphin and works ok and get data on query.
Code: Select all
cSql:=" UPDATE usuarios "+;
" SET USER=AES_ENCRYPT('"+AllTrim(::usuario)+"','mykey'),"+;
" PASSWORD=AES_ENCRYPT('"+AllTrim(::pasword)+"','mykey'),"+;
" NAME=AES_ENCRYPT('"+Alltrim(::nombre)+"','mykey'),"+;
" EMAIL=AES_ENCRYPT('"+Alltrim(::email))+"','mykey'),"+;
" NIVEL=AES_ENCRYPT('"+AllTrim(Str(::nivel,0))+"','mykey') "
"Where id="+ClipValue2Sql( oTusuarios:id )
.......
cSql := "Select AES_DECRYPT(USER,'mykey') AS usuario,"+;
" AES_DECRYPT(PASSWORD,'mykey') AS pasword,"+;
" AES_DECRYPT(NAME,'mykey) AS nombre,"+;
" AES_DECRYPT(NIVEL,'mykey') AS level,"+;
" AES_DECRYPT(EMAIL,'mykey') AS correo "+;
" from usuarios where id="+ClipValue2Sql( oTusuarios:id )
oRs:= oCn:Rowset( cSql )
Xbrowse( oRs ) // oRs Get Blank DAta