~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

sync with latest from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
244
244
#endif
245
245
 
246
246
extern "C" {
247
 
struct charset_info_st *thd_charset(DRIZZLE_THD thd);
248
 
char **thd_query(DRIZZLE_THD thd);
 
247
struct charset_info_st *thd_charset(THD *thd);
 
248
char **thd_query(THD *thd);
249
249
 
250
250
/** Get the file name of the MySQL binlog.
251
251
 * @return the name of the binlog file
263
263
  @retval 0 the user thread is not a replication slave thread
264
264
  @retval 1 the user thread is a replication slave thread
265
265
*/
266
 
int thd_slave_thread(const DRIZZLE_THD thd);
 
266
int thd_slave_thread(const THD *thd);
267
267
 
268
268
/**
269
269
  Check if a user thread is running a non-transactional update
271
271
  @retval 0 the user thread is not running a non-transactional update
272
272
  @retval 1 the user thread is running a non-transactional update
273
273
*/
274
 
int thd_non_transactional_update(const DRIZZLE_THD thd);
 
274
int thd_non_transactional_update(const THD *thd);
275
275
 
276
276
/**
277
277
  Get the user thread's binary logging format
278
278
  @param thd  user thread
279
279
  @return Value to be used as index into the binlog_format_names array
280
280
*/
281
 
int thd_binlog_format(const DRIZZLE_THD thd);
 
281
int thd_binlog_format(const THD *thd);
282
282
 
283
283
/**
284
284
  Mark transaction to rollback and mark error as fatal to a sub-statement.
285
285
  @param  thd   Thread handle
286
286
  @param  all   TRUE <=> rollback main transaction.
287
287
*/
288
 
void thd_mark_transaction_to_rollback(DRIZZLE_THD thd, bool all);
 
288
void thd_mark_transaction_to_rollback(THD *thd, bool all);
289
289
}