[MDEV-2162] LP:578782 - Crash when virtual column uses stored function Created: 2010-05-11 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Sergei Petrunia | Assignee: | Oleksandr Byelkin |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
mysqld will crash when one tries to create a table with virtual column that uses stored function. == How to repeat == mysql> delimiter ; == Crash details == Program received signal SIGABRT, Aborted. (gdb) print vcol_info |
| Comments |
| Comment by Sergei Petrunia [ 2010-05-11 ] |
|
Re: Crash when virtual column uses stored function AFAIR, partitioning code solves the problem by disallowing #1 and #2, and using VIEW definitions allow #1 but disallow #2. For #3, it seems that @@character_set_client and |
| Comment by Hakan Küçükyılmaz (Inactive) [ 2010-06-01 ] |
|
Re: Crash when virtual column uses stored function mysql> delimiter // mysql> create schema test// mysql> use test mysql> create function f1(a int) returns int begin return a+1; end // mysql> delimiter ; |
| Comment by Hakan Küçükyılmaz (Inactive) [ 2010-06-01 ] |
|
Re: Crash when virtual column uses stored function |
| Comment by Hakan Küçükyılmaz (Inactive) [ 2010-06-16 ] |
|
Re: Crash when virtual column uses stored function we get au0013:local hakan$ mysql -uroot test Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> delimiter // mysql> delimiter ; With lp:maria/5.2 and BUILD/compile-amd64-max we get mysql> use test; mysql> delimiter ; I tried it on Mac OS X and Ubuntu. |
| Comment by Hakan Küçükyılmaz (Inactive) [ 2010-06-16 ] |
|
Re: Crash when virtual column uses stored function |
| Comment by Oleksandr Byelkin [ 2011-06-23 ] |
|
Re: Crash when virtual column uses stored function |
| Comment by Rasmus Johansson (Inactive) [ 2011-06-23 ] |
|
Launchpad bug id: 578782 |