Select on table with two colums cause empty result.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
|||
mysql-dfsg-5.1 (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: mysql-server-5.1
Table with two integer columns and separate indexes on each column can cause problems
during select with conditions on both columns.
Selecting with condition on one column works ok but multiple columns in same time
generate empty result.
Creating index on two columns fixes results from select.
Version 5.0 works fine in that case.
Looks like bug has been fixed in 5.1.54 + .
http://
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: mysql-server-5.1 5.1.49-1ubuntu8.1
ProcVersionSign
Uname: Linux 2.6.35-25-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Tue Mar 1 10:42:40 2011
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: mysql-5.1
Changed in mysql-dfsg-5.1 (Ubuntu): | |
status: | Invalid → New |
Changed in mysql-dfsg-5.1 (Ubuntu): | |
status: | New → Confirmed |
Marcin, thanks for taking the time to file this bug report and help us make Ubuntu better.
Given that you are the only one reporting this issue, I tried to repeat it using the test case from the mysql bug report.
I was unable to reproduce it, with MySQL 5.1 5.1.54-1ubuntu4 on natty, or 5.1.49-1ubuntu8.1 on maverick.
Marcin, I'm going to close this bug as Invalid. If you have further details that will help us reproduce the issue or further understand how your setup differs, feel free to re-open it as Status "New".