~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/replication/rli.cc

  • Committer: Monty Taylor
  • Date: 2008-11-18 22:12:56 UTC
  • mto: (589.1.3 devel)
  • mto: This revision was merged to the branch mainline in revision 589.
  • Revision ID: monty@inaugust.com-20081118221256-ap2kmj073pdw7uap
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <drizzled/data_home.h>
23
23
#include <drizzled/sql_parse.h>
24
24
#include <drizzled/gettext.h>
 
25
#include <drizzled/log_event.h>
 
26
#include <drizzled/sql_base.h>
25
27
 
26
28
#if TIME_WITH_SYS_TIME
27
29
# include <sys/time.h>
41
43
// Defined in slave.cc
42
44
int32_t init_intvar_from_file(int32_t* var, IO_CACHE* f, int32_t default_val);
43
45
int32_t init_strvar_from_file(char *var, int32_t max_size, IO_CACHE *f,
44
 
                          const char *default_val);
 
46
                              const char *default_val);
45
47
 
46
48
 
47
49
Relay_log_info::Relay_log_info()
975
977
  return;
976
978
}
977
979
 
 
980
 
 
981
bool Relay_log_info::is_in_group() const {
 
982
  return (sql_session->options & OPTION_BEGIN) ||
 
983
      (m_flags & (1UL << IN_STMT));
 
984
}
 
985
 
 
986
 
978
987
void Relay_log_info::clear_tables_to_lock()
979
988
{
980
989
  while (tables_to_lock)