1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
mysql> select 1 = '1a';
+----------+
| 1 = '1a' |
+----------+
| 1 |
+----------+
1 row in set, 1 warning (0.00 sec)
mysql> select 1 != '1a';
+-----------+
| 1 != '1a' |
+-----------+
| 0 |
+-----------+
1 row in set, 1 warning (0.00 sec)
mysql> SHOW WARNINGS;
+---------+------+----------------------------------------+
| Level | Code | Message |
+---------+------+----------------------------------------+
| Warning | 1292 | Truncated incorrect DOUBLE value: '1a' |
+---------+------+----------------------------------------+
Server version: 5.1.49-3 (Debian)
ist das bei dir anders?