~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin.h

  • Committer: Monty Taylor
  • Date: 2009-03-24 17:44:41 UTC
  • mto: (960.5.2 mordred)
  • mto: This revision was merged to the branch mainline in revision 964.
  • Revision ID: mordred@inaugust.com-20090324174441-nmsq0gwjlgf7f0mt
Changed handlerton to StorageEngine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
385
385
  void *reserved1;   /* reserved for dependency checking             */
386
386
};
387
387
 
388
 
struct handlerton;
 
388
struct StorageEngine;
389
389
 
390
390
 
391
391
class Plugin
446
446
const char *get_session_proc_info(Session *session);
447
447
int64_t session_test_options(const Session *session, int64_t test_options);
448
448
int session_sql_command(const Session *session);
449
 
void **session_ha_data(const Session *session, const struct handlerton *hton);
 
449
void **session_ha_data(const Session *session, const struct StorageEngine *hton);
450
450
int session_tx_isolation(const Session *session);
451
451
/* Increments the row counter, see Session::row_count */
452
452
void session_inc_row_count(Session *session);
557
557
*/
558
558
inline
559
559
void *
560
 
session_get_ha_data(const Session *session, const struct handlerton *hton)
 
560
session_get_ha_data(const Session *session, const struct StorageEngine *hton)
561
561
{
562
562
  return *session_ha_data(session, hton);
563
563
}
567
567
*/
568
568
inline
569
569
void
570
 
session_set_ha_data(const Session *session, const struct handlerton *hton,
 
570
session_set_ha_data(const Session *session, const struct StorageEngine *hton,
571
571
                const void *ha_data)
572
572
{
573
573
  *session_ha_data(session, hton)= (void*) ha_data;