~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/discrete_interval.h

  • Committer: Monty Taylor
  • Date: 2009-04-14 19:16:51 UTC
  • mto: (997.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 994.
  • Revision ID: mordred@inaugust.com-20090414191651-ltbww6hpqks8k7qk
Clarified instructions in README.

Show diffs side-by-side

added added

removed removed

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