~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2008-12-08 20:19:05 UTC
  • Revision ID: brian@tangent.org-20081208201905-ud33hfoidmke55iv
Removd dead TRX binlog code (we log straight... no attempt to optimize for
rollback).

Show diffs side-by-side

added added

removed removed

Lines of Context:
942
942
 
943
943
  /* Place to store various things */
944
944
  void *session_marker;
945
 
  int binlog_setup_trx_data();
946
 
 
947
 
  /*
948
 
    Public interface to write RBR events to the binlog
949
 
  */
950
 
  void binlog_set_stmt_begin();
951
 
  int binlog_write_table_map(Table *table, bool is_transactional);
952
945
 
953
946
  void set_server_id(uint32_t sid) { server_id = sid; }
954
947
 
955
 
  /*
956
 
    Member functions to handle pending event for row-level logging.
957
 
  */
958
 
  template <class RowsEventT> Rows_log_event*
959
 
    binlog_prepare_pending_rows_event(Table* table, uint32_t serv_id,
960
 
                                      size_t needed,
961
 
                                      bool is_transactional,
962
 
                                      RowsEventT* hint);
963
 
  Rows_log_event* binlog_get_pending_rows_event() const;
964
 
  void            binlog_set_pending_rows_event(Rows_log_event* ev);
965
 
  int binlog_flush_pending_rows_event(bool stmt_end);
966
 
 
967
948
private:
968
949
  uint32_t binlog_table_maps; // Number of table maps currently in the binlog
969
950