py3: _mysql.string_literal() returns bytes().
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).
Showing
This diff is collapsed.
Please register or sign in to comment