~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2009-01-23 02:15:04 UTC
  • mfrom: (798.2.32 drizzle)
  • Revision ID: brian@tangent.org-20090123021504-2j99e6hxab1ew601
Merge for replication removal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
/* Classes in mysql */
25
25
 
26
26
#include <drizzled/global.h>
27
 
#include <drizzled/log.h>
28
 
#include <drizzled/replication/tblmap.h>
29
27
#include <drizzled/protocol.h>
30
28
#include <libdrizzle/password.h>     // rand_struct
31
29
#include <drizzled/sql_locale.h>
39
37
#include <string>
40
38
#include <bitset>
41
39
 
42
 
class Relay_log_info;
43
 
 
44
 
class Query_log_event;
45
 
class Load_log_event;
46
 
class Slave_log_event;
47
40
class Lex_input_stream;
48
 
class Rows_log_event;
49
41
class user_var_entry;
50
42
class Copy_field;
51
43
class Table_ident;
772
764
           public Open_tables_state
773
765
{
774
766
public:
775
 
  /* Used to execute base64 coded binlog events in MySQL server */
776
 
  Relay_log_info* rli_fake;
777
 
 
778
767
  /*
779
768
    Constant for Session::where initialization in the beginning of every query.
780
769
 
895
884
    Session_TRANS stmt;                 // Trans for current statement
896
885
    bool on;                            // see ha_enable_transaction()
897
886
    XID_STATE xid_state;
898
 
    Rows_log_event *m_pending_rows_event;
899
887
 
900
888
    /*
901
889
       Tables changed in transaction (that must be invalidated in query cache).
1173
1161
  bool       derived_tables_processing;
1174
1162
  bool    tablespace_op;        /* This is true in DISCARD/IMPORT TABLESPACE */
1175
1163
 
1176
 
  /*
1177
 
    If we do a purge of binary logs, log index info of the threads
1178
 
    that are currently reading it needs to be adjusted. To do that
1179
 
    each thread that is using LOG_INFO needs to adjust the pointer to it
1180
 
  */
1181
 
  LOG_INFO*  current_linfo;
1182
 
  NET*       slave_net;                 // network connection from slave -> m.
1183
1164
  /* Used by the sys_var class to store temporary values */
1184
1165
  union
1185
1166
  {
1543
1524
               enum_filetype filetype_arg= FILETYPE_CSV);
1544
1525
};
1545
1526
 
1546
 
#include "log_event.h"
1547
 
 
1548
1527
/*
1549
1528
  This is used to get result from a select
1550
1529
*/
1742
1721
    {}
1743
1722
  int prepare(List<Item> &list, SELECT_LEX_UNIT *u);
1744
1723
 
1745
 
  void binlog_show_create_table(Table **tables, uint32_t count);
1746
1724
  void store_values(List<Item> &values);
1747
1725
  void send_error(uint32_t errcode,const char *err);
1748
1726
  bool send_eof();