~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/constrained_value.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-12-21 16:39:40 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20101221163940-c1pfo1jjvx7909xq
Tags: 2010.12.06-0ubuntu1
* New upstream release.
* Added libaio-dev build depend for InnoDB.
* Removed libpcre patch - applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <boost/program_options.hpp>
25
25
#include <boost/program_options/errors.hpp>
26
26
#include <iostream>
 
27
#include <netinet/in.h> /* for in_port_t */
27
28
 
28
29
namespace drizzled
29
30
{
200
201
 
201
202
typedef constrained_check<uint64_t, UINT64_MAX, 0> uint64_constraint;
202
203
typedef constrained_check<uint32_t, UINT32_MAX, 0> uint32_constraint;
 
204
typedef constrained_check<uint64_t, UINT64_MAX, 1> uint64_nonzero_constraint;
 
205
typedef constrained_check<uint32_t, UINT32_MAX, 1> uint32_nonzero_constraint;
 
206
typedef drizzled::constrained_check<in_port_t, 65535, 0> port_constraint;
203
207
 
204
208
typedef constrained_check<uint32_t,65535,1> back_log_constraints;
205
209