'blob'-columns need some special attention in the new quote()-function.

Note that there is no need to use BlobDecode() on read, since adodb does it automagically.
This commit is contained in:
Carsten Wolff 2004-03-17 12:42:24 +00:00
parent 34b6b1e7a7
commit 7f85671046

View File

@ -783,6 +783,11 @@
{
$this->connect();
}
switch($type)
{
case 'blob':
return "'" . $this->Link_ID->BlobEncode($value) . "'";
}
return $this->Link_ID->quote($value);
}