~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/discrete_interval.h

Remove PLUGIN and MODULES.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_DISCRETE_INTERVAL_H
22
22
#define DRIZZLED_DISCRETE_INTERVAL_H
23
23
 
 
24
#include <cstdlib>
 
25
 
 
26
#include "drizzled/definitions.h"
 
27
 
24
28
/*
25
29
  Such interval is "discrete": it is the set of
26
30
  { auto_inc_interval_min + k * increment,
27
31
    0 <= k <= (auto_inc_interval_values-1) }
28
32
  Where "increment" is maintained separately by the user of this class (and is
29
33
  currently only session->variables.auto_increment_increment).
30
 
  It mustn't derive from Sql_alloc, because SET INSERT_ID needs to
 
34
  It mustn't derive from drizzled::memory::SqlAlloc, because SET INSERT_ID needs to
31
35
  allocate memory which must stay allocated for use by the next statement.
32
36
*/
33
37
class Discrete_interval {