Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.11.5

Request #4182 mysql blob support
Submitted: 2005-04-19 16:59 UTC
From: therion_5 at hotmail dot com Assigned: alan_k
Status: Closed Package: DB_DataObject
PHP Version: 4.3.10 OS: any
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 45 - 5 = ?

 
 [2005-04-19 16:59 UTC] therion_5 at hotmail dot com
Description: ------------ blob data can be escaped by one of following calls: - mysql_escape_string - mysql_real_escape_string

Comments

 [2005-04-20 03:29 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-04-20 07:13 UTC] therion_5 at hotmail dot com
Here is patch. Sorry can't give you diff, coz i'm still on old version (waiting for multiple db patch) Cast.php // ... function toStringFromString(...) { // ... switch($db) { // ... case 'mysql': return "'".mysql_escape_string($this->value)."'"; // ... } // ... } function toStringFromBlob(...){ // ... switch($db) { // ... case 'mysql': return "'".mysql_escape_string($this->value)."'"; // ... } // ... } // ...
 [2005-04-20 07:35 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-04-22 08:17 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-06-04 03:00 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!