Bug #11416 | Server crash if using a view that uses function convert_tz | ||
---|---|---|---|
Submitted: | 17 Jun 2005 15:41 | Modified: | 15 Sep 2005 19:15 |
Reporter: | Konstantin Osipov (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | OS: | ||
Assigned to: | Evgeny Potemkin | CPU Architecture: | Any |
[17 Jun 2005 15:41]
Konstantin Osipov
[14 Sep 2005 20:07]
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/internals/29866
[15 Sep 2005 17:27]
Evgeny Potemkin
When parser parses function convert_tz it loads available timezone tables in thd->lex->time_zone_tables_used. But view have another lex that main query. Thus time_zone_tables_used of main query left uninitialized. When Item_func_conver_tz is fixed it takes timezone tables from main query and later when it executed it assumes that timezone tables are loaded and failed that assertion. Fixed in 5.0.14, cset 1.1958.3.1
[15 Sep 2005 19:15]
Paul DuBois
Noted in 5.0.14 changelog.