Commit 1101cda3 authored by unknown's avatar unknown
Browse files

interface for transaction log management added to handlerton

iterators creation interface added to handlerton


sql/ha_berkeley.cc:
  added new methods
sql/ha_federated.cc:
  added new methods
sql/ha_heap.cc:
  added new methods
sql/ha_innodb.cc:
  added new methods
sql/ha_myisam.cc:
  added new methods
sql/ha_myisammrg.cc:
  added new methods
sql/ha_ndbcluster.cc:
  added new methods
sql/ha_partition.cc:
  added new methods
sql/handler.cc:
  added new methods
  spelling fixed
  examples of functions for new interface added
sql/handler.h:
  transaction logs management interface added
  general iterator creatioin interface added
sql/log.cc:
  added new methods
storage/archive/ha_archive.cc:
  added new methods
storage/blackhole/ha_blackhole.cc:
  added new methods
storage/csv/ha_tina.cc:
  added new methods
storage/example/ha_example.cc:
  added new methods
parent a04d9fa9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -164,7 +164,9 @@ handlerton berkeley_hton = {
  HTON_CLOSE_CURSORS_AT_COMMIT | HTON_FLUSH_AFTER_RENAME,
  NULL, /* binlog_func */
  NULL,  /* binlog_log_query */
  NULL	/* release_temporary_latches */
  NULL,  /* release_temporary_latches */
  NULL,  /* get_log_status */
  NULL   /* create_iterator */
};

handler *berkeley_create_handler(TABLE_SHARE *table)
+3 −1
Original line number Diff line number Diff line
@@ -408,7 +408,9 @@ handlerton federated_hton= {
  HTON_ALTER_NOT_SUPPORTED,
  NULL,    /* binlog_func */
  NULL,    /* binlog_log_query */
  NULL	   /* release_temporary_latches */
  NULL,    /* release_temporary_latches */
  NULL,    /* get_log_status */
  NULL     /* create_iterator */
};


+3 −1
Original line number Diff line number Diff line
@@ -65,7 +65,9 @@ handlerton heap_hton= {
  HTON_CAN_RECREATE,
  NULL,    /* binlog_func */
  NULL,    /* binlog_log_query */
  NULL     /* release_temporary_latches */
  NULL,    /* release_temporary_latches */
  NULL,    /* get_log_status */
  NULL     /* create_iterator */
};

static handler *heap_create_handler(TABLE_SHARE *table)
+3 −1
Original line number Diff line number Diff line
@@ -244,7 +244,9 @@ handlerton innobase_hton = {
  HTON_NO_FLAGS,
  NULL,                         /* binlog_func */
  NULL,                         /* binlog_log_query */
  innobase_release_temporary_latches
  innobase_release_temporary_latches,
  NULL,                         /* get_log_status */
  NULL                          /* create_iterator */
};


+3 −1
Original line number Diff line number Diff line
@@ -99,7 +99,9 @@ handlerton myisam_hton= {
  HTON_CAN_RECREATE,
  NULL,    /* binlog_func */
  NULL,    /* binlog_log_query */
  NULL     /* release_temporary_latches */
  NULL,    /* release_temporary_latches */
  NULL,    /* get_log_status */
  NULL     /* create_iterator */
};


Loading