Bug #29881 | stored routine function in where clause | ||
---|---|---|---|
Submitted: | 18 Jul 2007 21:11 | Modified: | 21 Jul 2007 21:37 |
Reporter: | Matthew Kent | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S2 (Serious) |
Version: | 5.0.45, 5.0 BK, 5.1 BK | OS: | Linux |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | regression |
[18 Jul 2007 21:11]
Matthew Kent
[18 Jul 2007 21:18]
Matthew Kent
expanded the demo table a bit, here's some proof of the actual extra questions: same data for each 5.0.45-community-log mysql> show status like 'Questions'\G select x from demo where x = demofunc()\G show status like 'Questions'\G *************************** 1. row *************************** Variable_name: Questions Value: 45 1 row in set (0.00 sec) *************************** 1. row *************************** x: q 1 row in set (0.00 sec) *************************** 1. row *************************** Variable_name: Questions Value: 70 1 row in set (0.01 sec) 14 questions to the db 5.0.27-max-log mysql> show status like 'Questions'\G select x from demo where x = demofunc()\G show status like 'Questions'\G *************************** 1. row *************************** Variable_name: Questions Value: 44 1 row in set (0.01 sec) *************************** 1. row *************************** x: q 1 row in set (0.00 sec) *************************** 1. row *************************** Variable_name: Questions Value: 50 1 row in set (0.00 sec) 5 questions to the db
[18 Jul 2007 22:15]
Sveta Smirnova
Thank you for the report. Verified as described. Bug occured firs time in version 5.0.42.
[21 Jul 2007 21:37]
Gleb Shchepa
Duplicate of #29338.
[21 Jul 2007 21:40]
Gleb Shchepa
Duplicate of bug #29338.