~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/extract.h

  • Committer: Jay Pipes
  • Date: 2008-12-18 15:55:03 UTC
  • mto: This revision was merged to the branch mainline in revision 717.
  • Revision ID: jpipes@serialcoder-20081218155503-u45ygyunrdyyvquq
Fix for Bug#308457.  Gave UTF8 enclosure and escape character on LOAD DATA INFILE and changed the error message to be more descriptive

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
20
20
#ifndef DRIZZLED_FUNCTION_TIME_EXTRACT_H
21
21
#define DRIZZLED_FUNCTION_TIME_EXTRACT_H
22
22
 
23
 
#include <drizzled/function/math/int.h>
24
 
 
25
 
namespace drizzled
26
 
{
 
23
#include <drizzled/function/int.h>
27
24
 
28
25
class Item_extract :public Item_int_func
29
26
{
41
38
  virtual void print(String *str, enum_query_type query_type);
42
39
};
43
40
 
44
 
} /* namespace drizzled */
45
 
 
46
41
#endif /* DRIZZLED_FUNCTION_TIME_EXTRACT_H */