Home » Database » DB » Bug #1394
PEAR DB PROBLEM
Details
| Submitted | 2004-05-12 20:32 UTC |
|---|---|
| From | jmariz at fcatec dot com |
| Assigned | danielc |
| Status | Bogus |
| Package | DB |
| PHP Version | 4.3.0 |
| OS | conectiva linux 8 |
| Roadmaps | (Not assigned) |
Comments
[2004-05-12 20:32 UTC] jmariz at fcatec dot com
Description:
------------
PEAR DB not save blob register in INTERBASE 6
Reproduce code:
---------------
$cSQL = "INSERT INTO NOTICIAS (TITULO, RESUMO, NOTICIA) VALUES ('$cTitulo', '$cResumo', $cNoticia)";
$sth =& $db->prepare($cSQL);
$res =& $db->execute($sth);
if (DB::isError($res)) {
die($res->getMessage());
or
db->query($cSQL);
Expected result:
----------------
a new register into interbase database.
Actual result:
--------------
DB:ERROR mismatch