~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/handler/ha_innodb.h

Rename of handler to Cursor.  You would not believe how long I have wanted
to do that.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
/*
20
20
  This file is based on ha_berkeley.h of MySQL distribution
21
21
 
22
 
  This file defines the Innodb handler: the interface between MySQL and
 
22
  This file defines the Innodb Cursor: the interface between MySQL and
23
23
  Innodb
24
24
*/
25
25
 
26
26
#ifndef INNODB_HANDLER_HA_INNODB_H
27
27
#define INNODB_HANDLER_HA_INNODB_H
28
28
 
29
 
#include <drizzled/handler.h>
 
29
#include <drizzled/cursor.h>
30
30
#include <mysys/thr_lock.h>
31
31
 
32
32
/** InnoDB table share */
52
52
typedef struct row_prebuilt_struct row_prebuilt_t;
53
53
 
54
54
/** The class defining a handle to an Innodb table */
55
 
class ha_innobase: public handler
 
55
class ha_innobase: public Cursor
56
56
{
57
57
        row_prebuilt_t* prebuilt;       /*!< prebuilt struct in InnoDB, used
58
58
                                        to save CPU time with prebuilt data
241
241
 
242
242
typedef struct trx_struct trx_t;
243
243
/********************************************************************//**
244
 
@file handler/ha_innodb.h
 
244
@file Cursor/ha_innodb.h
245
245
Converts an InnoDB error code to a MySQL error code and also tells to MySQL
246
246
about a possible transaction rollback inside InnoDB caused by a lock wait
247
247
timeout or a deadlock.
255
255
        Session         *session);      /*!< in: user thread handle or NULL */
256
256
 
257
257
/*********************************************************************//**
258
 
Allocates an InnoDB transaction for a MySQL handler object.
 
258
Allocates an InnoDB transaction for a MySQL Cursor object.
259
259
@return InnoDB transaction handle */
260
260
extern "C" UNIV_INTERN
261
261
trx_t*