~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Lee Bieber
  • Date: 2011-04-14 02:58:23 UTC
  • mfrom: (2275.2.5 typelib)
  • mto: This revision was merged to the branch mainline in revision 2278.
  • Revision ID: kalebral@gmail.com-20110414025823-vz32sg8fuxslygyd
Merge Olaf - remove unused functions

Show diffs side-by-side

added added

removed removed

Lines of Context:
670
670
    return server_id;
671
671
  }
672
672
 
673
 
  /** Returns the current transaction ID for the session's current statement */
674
 
  my_xid getTransactionId();
675
 
 
676
673
  /**
677
674
    There is BUG#19630 where statement-based replication of stored
678
675
    functions/triggers with two auto_increment columns breaks.
836
833
 
837
834
  void clear_error(bool full= false);
838
835
  void clearDiagnostics();
839
 
  void fatal_error();
840
836
  bool is_error() const;
841
837
 
842
838
  static const charset_info_st *charset() { return default_charset_info; }
1053
1049
  */
1054
1050
  memory::Root main_mem_root;
1055
1051
 
1056
 
  /**
1057
 
   * Marks all tables in the list which were used by current substatement
1058
 
   * as free for reuse.
1059
 
   *
1060
 
   * @param Head of the list of tables
1061
 
   *
1062
 
   * @note
1063
 
   *
1064
 
   * The reason we reset query_id is that it's not enough to just test
1065
 
   * if table->query_id != session->query_id to know if a table is in use.
1066
 
   *
1067
 
   * For example
1068
 
   *
1069
 
   *  SELECT f1_that_uses_t1() FROM t1;
1070
 
   *
1071
 
   * In f1_that_uses_t1() we will see one instance of t1 where query_id is
1072
 
   * set to query_id of original query.
1073
 
   */
1074
 
  void mark_used_tables_as_free_for_reuse(Table *table);
1075
 
 
1076
1052
public:
1077
1053
  void my_ok(ha_rows affected_rows= 0, ha_rows found_rows_arg= 0, uint64_t passed_id= 0, const char *message= NULL);
1078
1054
  void my_eof();