• Arnaud Fontaine's avatar
    py3: _mysql.string_literal() returns bytes(). · 7b4f9991
    Arnaud Fontaine authored
    And _mysql/mysqldb API (_mysql.connection.query()) converts the query string to
    bytes() (additionally, cursor.execute(QUERY, ARGS) calls query() after
    converting everything to bytes() too).
    
    TODO: Instead of doing this ourself, should we use cursor.execute(QUERY, ARGS)
          which does conversion to bytes()? Performances?
    7b4f9991
db.py 24.5 KB