~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbxt/src/ha_pbxt.h

  • Committer: mordred
  • Date: 2010-04-19 20:57:43 UTC
  • mto: (1461.2.2 more-valgrind)
  • mto: This revision was merged to the branch mainline in revision 1498.
  • Revision ID: mordred@orisndriz05-20100419205743-7dt9vvqqi8x2bstb
Removed some extern "C" bits that were screwing with the callstack.

Show diffs side-by-side

added added

removed removed

Lines of Context:
346
346
extern "C" struct charset_info_st *thd_charset(MYSQL_THD thd);
347
347
extern "C" char **thd_query(MYSQL_THD thd);
348
348
extern "C" int thd_slave_thread(const MYSQL_THD thd);
349
 
extern "C" int thd_non_transactional_update(const MYSQL_THD thd);
350
349
extern "C" int thd_binlog_format(const MYSQL_THD thd);
351
350
extern "C" void thd_mark_transaction_to_rollback(MYSQL_THD thd, bool all);
352
351
#else
353
352
#define thd_charset(t)                                          (t)->charset()
354
353
#define thd_query(t)                                            &(t)->query
355
354
#define thd_slave_thread(t)                                     (t)->slave_thread
356
 
#define thd_non_transactional_update(t)         (t)->transaction.all.modified_non_trans_table
357
355
#define thd_binlog_format(t)                            (t)->variables.binlog_format
358
356
#define thd_mark_transaction_to_rollback(t)     mark_transaction_to_rollback(t, all)
359
357
#endif // INNODB_COMPATIBILITY_HOOKS */