~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/func.h

  • Committer: Stewart Smith
  • Date: 2009-06-16 03:43:00 UTC
  • mto: This revision was merged to the branch mainline in revision 1094.
  • Revision ID: stewart@flamingspork.com-20090616034300-bamg5dsfaknwi05b
fix join_outer for MyISAM as temp only: 1x open table twice, 1x CREATE TEMP

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_ITEM_FUNC_H
21
 
#define DRIZZLED_ITEM_FUNC_H
 
20
#ifndef DRIZZLED_SERVER_ITEM_FUNC_H
 
21
#define DRIZZLED_SERVER_ITEM_FUNC_H
22
22
 
23
23
 
24
24
/* If you fix the parser to no longer create functions these can be moved to create.cc */
 
25
#include <drizzled/function/ascii.h>
25
26
#include <drizzled/function/math/divide.h>
26
27
#include <drizzled/function/get_user_var.h>
27
28
#include <drizzled/function/math/int.h>
37
38
 
38
39
/* For type casts */
39
40
 
40
 
namespace drizzled
41
 
{
42
 
 
43
41
enum Cast_target
44
42
{
45
 
  ITEM_CAST_BINARY,
46
 
  ITEM_CAST_DATE,
47
 
  ITEM_CAST_TIME,
48
 
  ITEM_CAST_DATETIME,
49
 
  ITEM_CAST_CHAR,
 
43
  ITEM_CAST_BINARY, ITEM_CAST_SIGNED_INT, ITEM_CAST_UNSIGNED_INT,
 
44
  ITEM_CAST_DATE, ITEM_CAST_TIME, ITEM_CAST_DATETIME, ITEM_CAST_CHAR,
50
45
  ITEM_CAST_DECIMAL
51
46
};
52
47
 
53
 
} /* namespace drizzled */
54
 
 
55
 
#endif /* DRIZZLED_ITEM_FUNC_H */
 
48
#endif /* DRIZZLE_SERVER_ITEM_FUNC_H */