~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_func.cc

  • Committer: Monty Taylor
  • Date: 2008-10-06 04:45:56 UTC
  • mfrom: (438.1.13 drizzle)
  • Revision ID: monty@inaugust.com-20081006044556-5urk8k3yhnnl3o1p
Merged in from trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2815
2815
    null_value = 1;
2816
2816
    return 0;
2817
2817
  }
2818
 
#ifdef HAVE_REPLICATION
2819
2818
  int64_t pos = (ulong)args[1]->val_int();
2820
2819
  int64_t timeout = (arg_count==3) ? args[2]->val_int() : 0 ;
2821
2820
  if ((event_count = active_mi->rli.wait_for_pos(thd, log_name, pos, timeout)) == -2)
2823
2822
    null_value = 1;
2824
2823
    event_count=0;
2825
2824
  }
2826
 
#endif
2827
2825
  return event_count;
2828
2826
}
2829
2827