Menu

CHAR() returns set()

Help
2006-10-06
2012-09-19
  • Eric Brunson

    Eric Brunson - 2006-10-06

    For some reason my new FreeBSD box using either 1.2.1_p1 or 1.2.2b1 both return char() fields as a python set. Accessing the same database from a linux box returns a string. VARCHAR() is returned as a string. Switching to unicode returns a unicode string for both CHAR() and VARCHAR() but not a set.

    Any idea what's going on?

     
    • Lorenzo Viola

      Lorenzo Viola - 2007-01-09

      Hello

      I've got the same problem on a OpenBSD 4 box...

      Changed to Varchar the char() field, and returned a string instead of a SET ....

      Is it a bug or what ?

       
      • Andy Dustman

        Andy Dustman - 2007-01-09

        http://bugs.mysql.com/bug.php?id=17758

        Have you tried one of the 1.2.2 betas? I'm pretty sure it has the fix.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.