332
void filesort_free_buffers(Table *table, bool full)
332
void Table::filesort_free_buffers(bool full)
334
if (table->sort.record_pointers)
334
if (sort.record_pointers)
336
free((unsigned char*) table->sort.record_pointers);
337
table->sort.record_pointers=0;
336
free((unsigned char*) sort.record_pointers);
337
sort.record_pointers=0;
341
if (table->sort.sort_keys )
343
if ((unsigned char*) table->sort.sort_keys)
344
free((unsigned char*) table->sort.sort_keys);
345
table->sort.sort_keys= 0;
343
if ((unsigned char*) sort.sort_keys)
344
free((unsigned char*) sort.sort_keys);
347
if (table->sort.buffpek)
349
if ((unsigned char*) table->sort.buffpek)
350
free((unsigned char*) table->sort.buffpek);
351
table->sort.buffpek= 0;
352
table->sort.buffpek_len= 0;
349
if ((unsigned char*) sort.buffpek)
350
free((unsigned char*) sort.buffpek);
355
if (table->sort.addon_buf)
357
free((char *) table->sort.addon_buf);
358
free((char *) table->sort.addon_field);
359
table->sort.addon_buf=0;
360
table->sort.addon_field=0;
357
free((char *) sort.addon_buf);
358
free((char *) sort.addon_field);