~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_dumpvar.h

This patch adds the following functionality:

* Removes the need to manually enable replicators in order
  for an applier to work.
* Removes the enabled/disabled setting of both transaction
  applier plugins and transaction replicator plugins
* Pairs a replicator with an applier into a "ReplicationStream"
  and removes all checks for "enabled" replicators and appliers
* Allows modules that implement a TransactionApplier (such as
  the transaction_log module) to specify which replicator to
  use via a configuration variable.  For instance, the transaction
  log module now has --transaction-log-use-replicator=[default|filtered..]
  instead of the user having to do --default-replicator-enable and such
* Adds a new data dictionary table for REPLICATION_STREAMS, which
  allows querying of activated replication-to-applier streams
  managed by drizzled::ReplicationServices

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
class select_dumpvar :public select_result_interceptor {
32
32
  ha_rows row_count;
33
33
public:
34
 
  std::vector<var *> var_list;
 
34
  std::vector<my_var *> var_list;
35
35
  select_dumpvar()  { var_list.clear(); row_count= 0;}
36
36
  ~select_dumpvar() {}
37
37
 
57
57
  bool send_data(List<Item> &items)
58
58
  {
59
59
    
60
 
    std::vector<var *>::const_iterator iter= var_list.begin();
 
60
    std::vector<my_var *>::const_iterator iter= var_list.begin();
61
61
 
62
62
    List_iterator<Item> it(items);
63
63
    Item *item;
64
 
    var *current_var;
 
64
    my_var *current_var;
65
65
 
66
66
    if (unit->offset_limit_cnt)
67
67
    {                                           // using limit offset,count