List:General Discussion« Previous MessageNext Message »
From:Jack Hatterly Date:March 9 2012 12:55pm
Subject:RE: A Blob That's a String??
View as plain text  
> Date: Fri, 9 Mar 2012 13:43:11 +0100
> From: h.reindl@stripped
> To: mysql@stripped
> Subject: Re: A Blob That's a String??
> 
> where is the difference of "binary" and "string" after fetch it from DB?
> the result IS a binary safe string!

However, when I change this line in my code:

content = cursor.fetchall()[0][0].tostring()

to this:

content = cursor.fetchall()[0][0]

I get this error:



What's frustrating is that this code had worked before. That is why I ask, how do I test
that MySQL has uploaded a binary file?
TIA,
Jack
 		 	   		  
Thread
A Blob That's a String??Jack Hatterly9 Mar
  • Re: A Blob That's a String??Reindl Harald9 Mar
    • RE: A Blob That's a String??Jack Hatterly9 Mar