390.1.2
by Monty Taylor
Fixed copyright headers in drizzled/ |
1 |
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
|
2 |
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
|
|
3 |
*
|
|
4 |
* Copyright (C) 2008 Sun Microsystems
|
|
5 |
*
|
|
6 |
* This program is free software; you can redistribute it and/or modify
|
|
7 |
* it under the terms of the GNU General Public License as published by
|
|
8 |
* the Free Software Foundation; version 2 of the License.
|
|
9 |
*
|
|
10 |
* This program is distributed in the hope that it will be useful,
|
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13 |
* GNU General Public License for more details.
|
|
14 |
*
|
|
15 |
* You should have received a copy of the GNU General Public License
|
|
16 |
* along with this program; if not, write to the Free Software
|
|
17 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
18 |
*/
|
|
19 |
||
327.2.4
by Brian Aker
Refactoring table.h |
20 |
#ifndef DRIZZLED_FILESORT_INFO_ST_H
|
21 |
#define DRIZZLED_FILESORT_INFO_ST_H
|
|
327.2.3
by Brian Aker
Refactoring of class Table |
22 |
|
23 |
/* Information on state of filesort */
|
|
24 |
struct filesort_info_st |
|
25 |
{
|
|
26 |
IO_CACHE *io_cache; /* If sorted through filesort */ |
|
27 |
uchar **sort_keys; /* Buffer for sorting keys */ |
|
28 |
uchar *buffpek; /* Buffer for buffpek structures */ |
|
29 |
uint buffpek_len; /* Max number of buffpeks in the buffer */ |
|
30 |
uchar *addon_buf; /* Pointer to a buffer if sorted with fields */ |
|
31 |
size_t addon_length; /* Length of the buffer */ |
|
32 |
struct st_sort_addon_field *addon_field; /* Pointer to the fields info */ |
|
33 |
void (*unpack)(struct st_sort_addon_field *, uchar *); /* To unpack back */ |
|
34 |
uchar *record_pointers; /* If sorted in memory */ |
|
35 |
ha_rows found_records; /* How many records in sort */ |
|
36 |
};
|
|
37 |
||
327.2.4
by Brian Aker
Refactoring table.h |
38 |
#endif /* DRIZZLED_FILESORT_INFO_ST_H */ |