Commit ac480a37 authored by unknown's avatar unknown

Merge mysql.com:/usr/local/bk/mysql-5.0

into  mysql.com:/home/pem/work/mysql-5.0

parents 07d1323f d0df504b
...@@ -2447,6 +2447,7 @@ Prepared_statement::~Prepared_statement() ...@@ -2447,6 +2447,7 @@ Prepared_statement::~Prepared_statement()
if (cursor) if (cursor)
cursor->Cursor::~Cursor(); cursor->Cursor::~Cursor();
free_items(); free_items();
if (cursor)
free_root(cursor->mem_root, MYF(0)); free_root(cursor->mem_root, MYF(0));
delete lex->result; delete lex->result;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment