Pluf Framework

Pluf Framework Commit Details


Date:2008-11-17 06:39:28 (16 years 5 months ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:49e5d563e55a285c879ea76e16930b577e9450f0
Parents: 0bae4c544eb41f106bc58f6639dce6ac20d25b12
Message:Fixed as stupidly forgot the inflate/deflate calls.

Changes:

File differences

src/Pluf/DB/PostgreSQL.php
225225
226226
227227
228
228
229229
230230
231231
232232
233
233
234234
235235
    if (is_null($val)) {
        return 'NULL';
    }
    return "'".pg_escape_bytea($val)."'";
    return "'".pg_escape_bytea(gzdeflate($val, 9))."'";
}
function Pluf_DB_PostgreSQL_CompressedFromDb($val)
{
    return pg_unescape_bytea($val);
    return ($val) ? gzinflate(pg_unescape_bytea($val)) : $val;
}

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.21705s using 13 queries.