diff --git a/lib/modules/Sql.pmod/mysql.pike b/lib/modules/Sql.pmod/mysql.pike index ea7182788dc466bdf3e3c79c53d3c4c5275251a3..08e2fabb8423170778a69655d8ebb5453d7a9b28 100644 --- a/lib/modules/Sql.pmod/mysql.pike +++ b/lib/modules/Sql.pmod/mysql.pike @@ -1,5 +1,5 @@ /* - * $Id: mysql.pike,v 1.28 2006/08/15 14:49:22 grubba Exp $ + * $Id: mysql.pike,v 1.29 2006/08/15 14:50:39 grubba Exp $ * * Glue for the Mysql-module */ @@ -576,7 +576,7 @@ int decode_datetime (string timestr) if (new_send_charset != send_charset) { \ if (mixed err = \ ::big_query ("SET character_set_client=" + new_send_charset)) { \ - if (new_send_charset = "utf8") \ + if (new_send_charset == "utf8") \ predef::error ("The query is a wide string " \ "and the MySQL server doesn't support UTF-8: %s\n", \ describe_error (err)); \