Bug #7242 | The "insert_update" causes a server crash when using prepared statements | ||
---|---|---|---|
Submitted: | 13 Dec 2004 18:14 | Modified: | 11 Jan 2005 13:53 |
Reporter: | Lenz Grimmer | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.8-pre | OS: | Linux (Linux/x86) |
Assigned to: | Konstantin Osipov | CPU Architecture: | Any |
[13 Dec 2004 18:14]
Lenz Grimmer
[13 Dec 2004 20:00]
Sergey Petrunya
Happens with SQL Syntax prepared statements too: CREATE TABLE t1 (a INT, b INT, c INT, UNIQUE (A), UNIQUE(B)); INSERT t1 VALUES (1,2,10), (3,4,20); prepare X from 'INSERT t1 SELECT 5,6,30 FROM DUAL ON DUPLICATE KEY UPDATE c=c+100'; execute X; execute X;
[13 Dec 2004 20:00]
Sergey Petrunya
The problem is that an Item_func_plus object is used after ::cleanup call has been made on it
[14 Dec 2004 8:24]
Sergey Petrunya
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html
[11 Jan 2005 13:53]
Konstantin Osipov
This bug was re-fixed differently in 4.1.9