21
21
#ifndef DRIZZLED_DISCRETE_INTERVAL_H
22
22
#define DRIZZLED_DISCRETE_INTERVAL_H
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).
31
35
allocate memory which must stay allocated for use by the next statement.
33
37
class Discrete_interval {