Menu

#2994 (ok 3.3.2) Text shown as hex

3.3.1
fixed
1
2013-06-11
2010-03-10
No

When I use 'propose table structure', the fields field name and optimal field type are shown as hex instead of as text. This is related to the recent change to display binary fields as hex. How does pMA determine what is a binary field?

Discussion

  • Marc Delisle

    Marc Delisle - 2010-03-11

    This is a very tricky area. MySQL reports these fields as being binary. I discussed this in the past with a MySQL engineer but there was no evident solution.

     
  • Olaf van der Spek

    Do you have a link to that discussion?
    One work around might be to check the string is ascii/utf-8 and display it as text in that case.

     
  • Marc Delisle

    Marc Delisle - 2010-03-12

    Sorry, I think I must have submitted to bugs.mysql.com, I'll try to find it.

    Looking at the code, I might have found a solution, stay tuned.

     
  • Marc Delisle

    Marc Delisle - 2010-03-14
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2010-03-14

    This bug was fixed in repository and will be part of a future release; thanks for reporting.

     
  • Marc Delisle

    Marc Delisle - 2010-03-14
    • milestone: 1024416 --> 3.3.1
    • priority: 5 --> 1
    • summary: Text shown as hex (MySQL bug?) --> (ok 3.3.2) Text shown as hex
    • status: open --> open-fixed
     
  • Olaf van der Spek

    Just curious, how did you fix it?

     
  • Marc Delisle

    Marc Delisle - 2010-03-22

    Olaf,
    After seeing bug 2974067 I think we don't have a choice and will have to set the default to not display binary as hex. Please comment in bug tracker 2974067.

     
  • Marc Delisle

    Marc Delisle - 2010-04-14
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     
MongoDB Logo MongoDB