Bug #10445 | ? | ||
---|---|---|---|
Submitted: | 8 May 2005 7:33 | Modified: | 8 May 2005 16:29 |
Reporter: | Kiran K | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 4.1 | OS: | Windows (Windows XP) |
Assigned to: | CPU Architecture: | Any |
[8 May 2005 7:33]
Kiran K
[8 May 2005 16:29]
Hartmut Holzgraefe
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Additional info: Whenever you are selecting data from a table without a where condition you get as many result rows as there are rows in the table, even if you are only asking for constant values and not for any table fields at all. If you just want to get a constant value or a function result back you can just use a select query without a from clause, eg.: SELECT 12345; or SELECT VERSION();