~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2011-02-12 06:56:00 UTC
  • mto: This revision was merged to the branch mainline in revision 2161.
  • Revision ID: brian@tangent.org-20110212065600-m6c68fybw51rflhj
Further strip out includes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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::TableIdentifier &identifier, int mode, uint test_if_locked);
 
142
        UNIV_INTERN int doOpen(const drizzled::identifier::Table &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
 
 
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
/*============================*/