Bug #9470 'LIKE' comparison works strange
| Submitted: | 30 Mar 2005 0:07 | Modified: | 30 Mar 2005 0:31 |
|---|---|---|---|
| Reporter: | A B | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server | Severity: | S1 (Critical) |
| Version: | 4.1.10a-max-nt | OS: | Windows (Win2003srv) |
| Assigned to: | CPU Architecture: | Any |
[30 Mar 2005 0:07]
A B
[30 Mar 2005 0:15]
A B
Oh, sorry... mysql> \s -------------- C:\usr\sbin\mysql\bin\mysql.exe Ver 14.7 Distrib 4.1.10a, for Win95/Win98 (i32) Connection id: 2 Current database: *** Current user: ***@*** SSL: Not in use Using delimiter: ; Server version: 4.1.10a-nt-max Protocol version: 10 Connection: mysql.*** via TCP/IP Server characterset: latin1 Db characterset: cp1251 Client characterset: cp1251 Conn. characterset: latin1 TCP port: 3306 Uptime: 1 min 17 sec Threads: 1 Questions: 80 Slow queries: 0 Opens: 13 Flush tables: 1 Open tables: 7 Queries per second avg: 1.039 -------------- mysql>
[30 Mar 2005 0:26]
Jorge del Conde
mysql> SELECT id, align FROM fighters WHERE align LIKE '1%'; +------------+-------+ | id | align | +------------+-------+ | 1029297211 | 1.7 | +------------+-------+ 1 row in set (0.00 sec)
[30 Mar 2005 0:30]
Jorge del Conde
Tested w/4.1.11
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.