~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/structs.h

  • Committer: Brian Aker
  • Date: 2008-07-15 06:45:16 UTC
  • Revision ID: brian@tangent.org-20080715064516-fnbq7kowh7w57bxj
Merge Monty's code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
263
263
  {
264
264
    interval_min=    start;
265
265
    interval_values= val;
266
 
    interval_max=    (val == ULONGLONG_MAX) ? val : start + val * incr;
 
266
    interval_max=    (val == UINT64_MAX) ? val : start + val * incr;
267
267
  }
268
268
  Discrete_interval(uint64_t start, uint64_t val, uint64_t incr) :
269
269
    next(NULL) { replace(start, val, incr); };
280
280
  {
281
281
    if (interval_max == start)
282
282
    {
283
 
      if (val == ULONGLONG_MAX)
 
283
      if (val == UINT64_MAX)
284
284
      {
285
285
        interval_values=   interval_max= val;
286
286
      }