Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#181 StringCol(char_binary=True) breaks if DBMS!=MySQL

closed-wont-fix
Oleg Broytman
General (125)
5
2006-09-05
2006-06-17
Anonymous
No

StringCol(char_binary=True) is required by MySQL to
allow case-sensitive comparisons for that column.
However, for instance for SQLite this is not required.
In the latter case "char_binary=True" should be
ignored, but instead an exception is trown:
ValueError: SQLite does not support binary character
columns

Discussion

  • Oleg Broytman
    Oleg Broytman
    2006-09-05

    • assigned_to: nobody --> phd
    • status: open --> closed-wont-fix
     
  • Oleg Broytman
    Oleg Broytman
    2006-09-05

    Logged In: YES
    user_id=4799

    "char_binary" was a somwhat experimental feature that I now
    very much recommend againts. "char_binary" in MySQL doesn't
    mean "case sensitive", it means "non-locale aware", which is
    very much different thing.