~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/display.cc

  • Committer: Brian Aker
  • Date: 2011-01-08 04:23:10 UTC
  • mto: (2064.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2065.
  • Revision ID: brian@tangent.org-20110108042310-wrcr0n473h37ljfm
First pass, remove retry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include <config.h>
22
 
 
23
 
#include <drizzled/display.h>
24
 
#include <drizzled/item.h>
25
 
 
26
 
#include <cassert>
27
 
#include <iostream>
28
 
#include <sstream>
 
21
#include "config.h"
 
22
 
 
23
#include "drizzled/display.h"
 
24
#include "drizzled/item.h"
 
25
 
 
26
#include <assert.h>
29
27
 
30
28
namespace drizzled {
31
29
namespace display {
45
43
static const std::string DRIZZLE_TYPE_DOUBLE("DRIZZLE_TYPE_DOUBLE"); 
46
44
static const std::string DRIZZLE_TYPE_NULL("DRIZZLE_TYPE_NULL"); 
47
45
static const std::string DRIZZLE_TYPE_TIMESTAMP("DRIZZLE_TYPE_TIMESTAMP"); 
48
 
static const std::string DRIZZLE_TYPE_MICROTIME("DRIZZLE_TYPE_MICROTIME"); 
49
46
static const std::string DRIZZLE_TYPE_LONGLONG("DRIZZLE_TYPE_LONGLONG"); 
50
47
static const std::string DRIZZLE_TYPE_DATETIME("DRIZZLE_TYPE_DATETIME"); 
51
48
static const std::string DRIZZLE_TYPE_TIME("DRIZZLE_TYPE_TIME"); 
242
239
    return DRIZZLE_TYPE_DOUBLE;
243
240
  case drizzled::DRIZZLE_TYPE_NULL : 
244
241
    return DRIZZLE_TYPE_NULL;
245
 
  case drizzled::DRIZZLE_TYPE_MICROTIME : 
246
 
    return DRIZZLE_TYPE_MICROTIME;
247
242
  case drizzled::DRIZZLE_TYPE_TIMESTAMP : 
248
243
    return DRIZZLE_TYPE_TIMESTAMP;
249
244
  case drizzled::DRIZZLE_TYPE_LONGLONG :