1
/* Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.
2
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
4
This program is free software; you can redistribute it and/or
5
modify it under the terms of the GNU General Public License
6
as published by the Free Software Foundation; version 2 of
7
9
This program is distributed in the hope that it will be useful,
8
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
12
GNU General Public License for more details.
12
14
You should have received a copy of the GNU General Public License
13
15
along with this program; if not, write to the Free Software
14
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
16
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
19
/* Definitions for parameters to do with handler-routines */
57
58
a table with rnd_next()
58
59
- We will see all rows (including deleted ones)
59
60
- Row positions are 'table->s->db_record_offset' apart
60
If this flag is not set, filesort will do a postion() call for each matched
61
If this flag is not set, filesort will do a position() call for each matched
61
62
row to be able to find the row later.
63
64
#define HA_REC_NOT_IN_SEQ (1 << 3)
1166
1167
DBUG_ASSERT(locked == FALSE);
1167
1168
/* TODO: DBUG_ASSERT(inited == NONE); */
1169
virtual handler *clone(MEM_ROOT *mem_root);
1170
virtual handler *clone(const char *name, MEM_ROOT *mem_root);
1170
1171
/** This is called after create to allow us to set up cached variables */