Bug #20021 | show command with like | ||
---|---|---|---|
Submitted: | 23 May 2006 9:22 | Modified: | 23 May 2006 11:53 |
Reporter: | mike rahm | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0 | OS: | Windows (win xp) |
Assigned to: | CPU Architecture: | Any |
[23 May 2006 9:22]
mike rahm
[23 May 2006 11:10]
mike rahm
sorry version is 5.0
[23 May 2006 11:53]
Valeriy Kravchuk
Thank you for a problem report. Sorry, but it is not a bug. Please, read the manual (http://dev.mysql.com/doc/refman/5.0/en/show-variables.html): "With a LIKE clause, the statement displays only those variables that match the pattern. To obtain a specific variable name, use a LIKE clause as shown: SHOW VARIABLES LIKE 'max_join_size'; SHOW SESSION VARIABLES LIKE 'max_join_size'; To get a list of variables whose name match a pattern, use the ‘%’ wildcard character in a LIKE clause: SHOW VARIABLES LIKE '%size%'; SHOW GLOBAL VARIABLES LIKE '%size%';" So, LIKE is applied to varable names, not values.