[MDEV-8615] Assertion `m_cpp_buf <= begin_ptr && begin_ptr <= m_cpp_buf + m_buf_length' failed in Lex_input_stream::body_utf8_start Created: 2015-08-13 Updated: 2016-02-18 Resolved: 2016-02-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Affects Version/s: | 10.1 |
| Fix Version/s: | 10.1.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 10.1.10, 10.1.11, 10.1.12 | ||||||||
| Description |
|
|
| Comments |
| Comment by Oleksandr Byelkin [ 2015-12-17 ] | |||||||||
|
in 10.0 the assert is present but there is no problem observed... | |||||||||
| Comment by Oleksandr Byelkin [ 2015-12-17 ] | |||||||||
|
in 10.0 it just not call Lex_input_stream::body_utf8_start in this statement. | |||||||||
| Comment by Oleksandr Byelkin [ 2015-12-21 ] | |||||||||
|
| |||||||||
| Comment by Oleksandr Byelkin [ 2015-12-21 ] | |||||||||
|
So the problem added by compound statements (probably) | |||||||||
| Comment by Oleksandr Byelkin [ 2015-12-21 ] | |||||||||
|
Yes, the problem is sp_unlabeled_control which start doing somethoing without be sure that even one keyword fit to what we parse. | |||||||||
| Comment by Oleksandr Byelkin [ 2015-12-21 ] | |||||||||
|
revision-id: daad4828b078485ee7ac60af4fc165ae35684395 (mariadb-10.1.9-21-gdaad482)
If it is EOF then it may not be start of compound statement. — | |||||||||
| Comment by Oleksandr Byelkin [ 2015-12-25 ] | |||||||||
|
(I am not sure that this fix is better) revision-id: 684bd68c33284f6106551188d9567f35b18593ed (mariadb-10.1.9-21-g684bd68)
Nothing should be done before any keyword recognised. — | |||||||||
| Comment by Oleksandr Byelkin [ 2016-01-27 ] | |||||||||
|
revision-id: 57bf58668877552ee43f4ed86689b8bbb3821c9c (mariadb-10.1.10-23-g57bf586)
Nothing should be done before any keyword recognized. — | |||||||||
| Comment by Sergei Golubchik [ 2016-02-18 ] | |||||||||
|
ok to push! |