Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#96 can't get pickle (string) with fetchone

MySQLdb-1.0
closed
Andy Dustman
MySQLdb (285)
5
2012-09-19
2004-07-28
Anonymous
No

Database contains PICKLETABLE w/field PICKLE of type TEXT
SQL="Select PICKLE from PICKLETABLE where ID=1"

0.9.2 & 0.9.3 return a STRING that I can throw into
loads() with no problem

1.0.0 returns type array.array which makes loads go BOOM!

Discussion

  • Sean
    Sean
    2004-07-29

    Logged In: YES
    user_id=1093262

    Sorry, I was in such a hurry I didn't log in.

    if you have any questions or something for me to test:
    stuffduff -at- cox.net

    Thanks!

     
  • Andy Dustman
    Andy Dustman
    2004-08-03

    Logged In: YES
    user_id=71372

    If arrays don't work for you, you can change it by passing a
    custom conversion dictionary to connect(), or else call the
    tostring() method on the array and pass that to loads().

     
  • Andy Dustman
    Andy Dustman
    2004-08-03

    Logged In: YES
    user_id=71372

    This is essentially a duplicate of bug#975831; followup on
    that bug.