| Bug #32137 | prepared statement crash with str_to_date in update clause | ||
|---|---|---|---|
| Submitted: | 6 Nov 2007 8:52 | Modified: | 20 Dec 2007 0:23 |
| Reporter: | Shane Bester | Email Updates: | |
| Status: | Closed | ||
| Category: | Server: PS | Severity: | S2 (Serious) |
| Version: | 5.1.23-debug, 6.0.3-debug | OS: | Any |
| Assigned to: | Ramil Kalimullin | Target Version: | |
| Tags: | STR_TO_DATE, crash, assertion | ||
| Triage: | D2 (Serious) | ||
[6 Nov 2007 8:52]
Shane Bester
[7 Nov 2007 8:47]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/37241 ChangeSet@1.2688, 2007-11-07 12:47:19+04:00, ramil@mysql.com +3 -0 Fix for bug #32137: prepared statement crash with str_to_date in update clause Problem: calling non-constant argument's val_xxx() methods in the ::fix_length_and_dec() is inadmissible. Fix: call the method only for constant arguments.
[7 Dec 2007 23:08]
Bugs System
Pushed into 6.0.5-alpha
[7 Dec 2007 23:09]
Bugs System
Pushed into 5.1.23-rc
[7 Dec 2007 23:10]
Bugs System
Pushed into 5.0.54
[7 Dec 2007 23:10]
Bugs System
Pushed into 4.1.24
[20 Dec 2007 0:23]
Paul DuBois
Noted in 4.1.24, 5.0.54, 5.1.23, 6.0.5 changelogs. Executing a prepared statement that used STR_TO_DATE() in the SET clause of an UPDATE statement caused an assertion failure.
