[MDEV-3725] LP:675248 - select->prep_where references on freed memory Created: 2010-11-14 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 | Priority: | Major |
| Reporter: | Oleksandr Byelkin | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The query with - CREATE TABLE `t1` ( SELECT SUM( DISTINCT table2 . `pk` ) AS field2 , |
| Comments |
| Comment by Oleksandr Byelkin [ 2010-11-15 ] |
|
Re: select->prep_where references on freed memory CREATE TABLE t1 (a int, b int); CREATE TABLE t2 (c int); select sum(a),(select sum(c) from t2 where table1.b) as sub |
| Comment by Oleksandr Byelkin [ 2010-11-15 ] |
|
Re: select->prep_where references on freed memory CREATE TABLE t1 (a int, b int); CREATE TABLE t2 (c int); prepare stmt1 from "select sum(a),(select sum(c) from t2 where table1.b) as sub execute stmt1; drop table t1,t2; |
| Comment by Oleksandr Byelkin [ 2010-11-15 ] |
|
Re: select->prep_where references on freed memory CREATE TABLE t1 (a int, b int); CREATE TABLE t2 (c int); prepare stmt1 from "select sum(a),(select sum(c) from t2 having table1.b) as sub execute stmt1; drop table t1,t2; |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 675248 |