~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Lee Bieber
  • Date: 2010-11-14 23:15:42 UTC
  • mfrom: (1929.1.42 warning-stack-frame)
  • Revision ID: kalebral@gmail.com-20101114231542-fnnu6ydd2p17n582
Merge Monty - fix bug 672372: some functions use > 32k stack

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 2000, 2010, MySQL AB & Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 2000, 2010, MySQL AB & Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
139
139
        UNIV_INTERN const char* index_type(uint key_number);
140
140
        UNIV_INTERN const key_map* keys_to_use_for_scanning();
141
141
 
142
 
        UNIV_INTERN int doOpen(const drizzled::identifier::Table &identifier, int mode, uint test_if_locked);
 
142
        UNIV_INTERN int doOpen(const drizzled::TableIdentifier &identifier, int mode, uint test_if_locked);
143
143
        UNIV_INTERN int close(void);
144
144
        UNIV_INTERN double scan_time();
145
145
        UNIV_INTERN double read_time(uint index, uint ranges, ha_rows rows);
219
219
};
220
220
 
221
221
 
 
222
extern "C" {
 
223
 
222
224
/** Get the file name of the MySQL binlog.
223
225
 * @return the name of the binlog file
224
226
 */
237
239
*/
238
240
int session_slave_thread(const Session *session);
239
241
 
 
242
}
 
243
 
240
244
typedef struct trx_struct trx_t;
241
245
/********************************************************************//**
242
246
@file Cursor/ha_innodb.h
244
248
about a possible transaction rollback inside InnoDB caused by a lock wait
245
249
timeout or a deadlock.
246
250
@return MySQL error code */
247
 
UNIV_INTERN
 
251
extern "C" UNIV_INTERN
248
252
int
249
253
convert_error_code_to_mysql(
250
254
/*========================*/
255
259
/*********************************************************************//**
256
260
Allocates an InnoDB transaction for a MySQL Cursor object.
257
261
@return InnoDB transaction handle */
258
 
UNIV_INTERN
 
262
extern "C" UNIV_INTERN
259
263
trx_t*
260
264
innobase_trx_allocate(
261
265
/*==================*/
265
269
This function checks each index name for a table against reserved
266
270
system default primary index name 'GEN_CLUST_INDEX'. If a name matches,
267
271
this function pushes an error message to the client, and returns true. */
 
272
extern "C"
268
273
bool
269
274
innobase_index_name_is_reserved(
270
275
/*============================*/