~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Monty Taylor
  • Date: 2008-12-06 23:17:26 UTC
  • mfrom: (664 drizzle)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: monty@inaugust.com-20081206231726-ut9ntnazs3rega56
Merged with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
928
928
 
929
929
  thr_lock_type update_lock_default;
930
930
 
 
931
  /*
 
932
    Both of the following container points in session will be converted to an API.
 
933
  */
 
934
 
931
935
  /* container for handler's private per-connection data */
932
936
  Ha_data ha_data[MAX_HA];
933
937
 
 
938
  /* container for replication data */
 
939
  void *replication_data;
 
940
  inline void setReplicationData (void *data) { replication_data= data; }
 
941
  inline void *getReplicationData () { return replication_data; }
 
942
 
934
943
  /* Place to store various things */
935
944
  void *session_marker;
936
945
  int binlog_setup_trx_data();
938
947
  /*
939
948
    Public interface to write RBR events to the binlog
940
949
  */
941
 
  void binlog_start_trans_and_stmt();
942
950
  void binlog_set_stmt_begin();
943
951
  int binlog_write_table_map(Table *table, bool is_transactional);
944
 
  int binlog_write_row(Table* table, bool is_transactional,
945
 
                       const unsigned char *new_data);
946
 
  int binlog_delete_row(Table* table, bool is_transactional,
947
 
                        const unsigned char *old_data);
948
 
  int binlog_update_row(Table* table, bool is_transactional,
949
 
                        const unsigned char *old_data, const unsigned char *new_data);
950
952
 
951
953
  void set_server_id(uint32_t sid) { server_id = sid; }
952
954