~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/func.h

  • Committer: Diego Medina
  • Date: 2009-09-15 02:21:15 UTC
  • mto: This revision was merged to the branch mainline in revision 1136.
  • Revision ID: diego.medina@sun.com-20090915022115-u0s94dg8j9m9fezy
reverted transaction_prealloc_size to an uint32_t
fixed test case

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 */
37
37
 
38
38
/* For type casts */
39
39
 
40
 
namespace drizzled
41
 
{
42
 
 
43
40
enum Cast_target
44
41
{
45
 
  ITEM_CAST_BINARY,
46
 
  ITEM_CAST_DATE,
47
 
  ITEM_CAST_TIME,
48
 
  ITEM_CAST_DATETIME,
49
 
  ITEM_CAST_CHAR,
 
42
  ITEM_CAST_BINARY, ITEM_CAST_SIGNED_INT, ITEM_CAST_UNSIGNED_INT,
 
43
  ITEM_CAST_DATE, ITEM_CAST_TIME, ITEM_CAST_DATETIME, ITEM_CAST_CHAR,
50
44
  ITEM_CAST_DECIMAL
51
45
};
52
46
 
53
 
} /* namespace drizzled */
54
 
 
55
 
#endif /* DRIZZLED_ITEM_FUNC_H */
 
47
#endif /* DRIZZLE_SERVER_ITEM_FUNC_H */