~stewart/drizzle/docs-improvements-1

« back to all changes in this revision

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

merged with up to date trunk

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
219
219
};
220
220
 
221
221
 
222
 
extern "C" {
223
 
 
224
222
/** Get the file name of the MySQL binlog.
225
223
 * @return the name of the binlog file
226
224
 */
239
237
*/
240
238
int session_slave_thread(const Session *session);
241
239
 
242
 
}
243
 
 
244
240
typedef struct trx_struct trx_t;
245
241
/********************************************************************//**
246
242
@file Cursor/ha_innodb.h
248
244
about a possible transaction rollback inside InnoDB caused by a lock wait
249
245
timeout or a deadlock.
250
246
@return MySQL error code */
251
 
extern "C" UNIV_INTERN
 
247
UNIV_INTERN
252
248
int
253
249
convert_error_code_to_mysql(
254
250
/*========================*/
259
255
/*********************************************************************//**
260
256
Allocates an InnoDB transaction for a MySQL Cursor object.
261
257
@return InnoDB transaction handle */
262
 
extern "C" UNIV_INTERN
 
258
UNIV_INTERN
263
259
trx_t*
264
260
innobase_trx_allocate(
265
261
/*==================*/
269
265
This function checks each index name for a table against reserved
270
266
system default primary index name 'GEN_CLUST_INDEX'. If a name matches,
271
267
this function pushes an error message to the client, and returns true. */
272
 
extern "C"
273
268
bool
274
269
innobase_index_name_is_reserved(
275
270
/*============================*/