Skip to content
Snippets Groups Projects
Commit e7bdd005 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Reverted automatic switching of character_set_connection since it

isn't side effect free.

E.g. the expression 'ü' < 'v' would evaluate differently depending on
whether the query is sent as latin1 or utf-8.

Another example:

  insert into foo values ('<text data>', '<binary data>');

Here <binary data> would be clobbered if <text data> happen to contain
wide chars.

So it's simply not possible to get transparent unicode support in
MySQL. Deal with it. :\

Also tuned the MYSQL_CHARSET_DEBUG a little.

Rev: lib/modules/Sql.pmod/mysql.pike:1.31
parent d50a273a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment