~ubuntu-branches/ubuntu/natty/mysql-5.1/natty-proposed

« back to all changes in this revision

Viewing changes to sql/handler.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 08:30:45 UTC
  • mfrom: (1.4.1)
  • Revision ID: package-import@ubuntu.com-20120222083045-2rd53r4bnyx7qus4
Tags: 5.1.61-0ubuntu0.11.04.1
* SECURITY UPDATE: Update to 5.1.61 to fix multiple security issues
  (LP: #937869)
  - http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
  - CVE-2011-2262
  - CVE-2012-0075
  - CVE-2012-0112
  - CVE-2012-0113
  - CVE-2012-0114
  - CVE-2012-0115
  - CVE-2012-0116
  - CVE-2012-0117
  - CVE-2012-0118
  - CVE-2012-0119
  - CVE-2012-0120
  - CVE-2012-0484
  - CVE-2012-0485
  - CVE-2012-0486
  - CVE-2012-0487
  - CVE-2012-0488
  - CVE-2012-0489
  - CVE-2012-0490
  - CVE-2012-0491
  - CVE-2012-0492
  - CVE-2012-0493
  - CVE-2012-0494
  - CVE-2012-0495
  - CVE-2012-0496

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.
 
1
/*
 
2
   Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
2
3
 
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
   the License.
6
8
 
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.
11
13
 
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 */
15
 
 
 
16
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
 
17
*/
16
18
 
17
19
/* Definitions for parameters to do with handler-routines */
18
20
 
20
22
#pragma interface                       /* gcc class implementation */
21
23
#endif
22
24
 
23
 
#include <my_handler.h>
24
25
#include <ft_global.h>
25
26
#include <keycache.h>
26
27
 
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.
62
63
*/
63
64
#define HA_REC_NOT_IN_SEQ      (1 << 3)
1166
1167
    DBUG_ASSERT(locked == FALSE);
1167
1168
    /* TODO: DBUG_ASSERT(inited == NONE); */
1168
1169
  }
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 */
1171
1172
  void init()
1172
1173
  {