[MCOL-1684] Performance Schema crashes prepared statement Created: 2018-08-30 Updated: 2020-08-25 Resolved: 2018-10-02 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.1.5 |
| Fix Version/s: | 1.1.6, 1.2.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Observed in a stack trace, a crash here in parse_sql.cc:
Stack for reference:
This happens when performance schema is enabled and a prepared statement is executed on a ColumnStore table. The fix is probably to do this in idb_vtable_process when parse_sql is called for COM_EXECUTE:
|
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2018-08-31 ] | ||
|
To reproduce add the following line to my.cnf's [mysqld] section:
Create a ColumnStore table as follows:
Then run the attached PHP script. This will cause mysqld to crash as above. Workaround is to not have performance_schema turned on. | ||
| Comment by Andrew Hutchings (Inactive) [ 2018-09-04 ] | ||
|
Pull request for 1.1 and 1.2. Please do not merge until after 1.1.6 is released. | ||
| Comment by Andrew Hutchings (Inactive) [ 2018-09-05 ] | ||
|
Looks like this got merged into 1.1 anyway so moved it to 1.1.6. | ||
| Comment by Daniel Lee (Inactive) [ 2018-10-02 ] | ||
|
Build verified: 1.1.6-1 release, 1.2.0-1 Github source 1.2.0-1 source /root/columnstore/mariadb-columnstore-server Need to install the following packages before testing: php Reproduced the mysqld crashing issue in 1.1.5-1 |