1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fix for few PROCEDURE bugs ...

This commit is contained in:
unknown
2002-12-05 21:51:22 +02:00
parent 47fb31aa46
commit c5e377e0cd
4 changed files with 69 additions and 1 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -324,7 +324,7 @@ void field_str::add()
}
else
{
bzero((char*) &s, sizeof(s)); // Let tree handle free of this
// bzero((char*) &s, sizeof(s)); // Let tree handle free of this
if ((treemem += length) > pc->max_treemem)
{
room_in_tree = 0; // Remove tree, too big tree

View File

@@ -733,6 +733,8 @@ JOIN::exec()
HA_POS_ERROR : unit->select_limit_cnt,
0))))
order=0;
if (procedure)
(void)result->prepare(fields_list, unit);
select_describe(this, need_tmp,
order != 0 && !skip_sort_order,
select_distinct);