~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/last_insert.h

  • Committer: Brian Aker
  • Date: 2009-02-10 00:14:40 UTC
  • Revision ID: brian@tangent.org-20090210001440-qjg8eofh3h93064b
Adding Multi-threaded Scheduler into the system.

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
23
23
#include <drizzled/function/func.h>
24
24
#include <drizzled/function/math/int.h>
25
25
 
26
 
namespace drizzled
27
 
{
28
 
 
29
26
class Item_func_last_insert_id :public Item_int_func
30
27
{
31
28
public:
39
36
      max_length= args[0]->max_length;
40
37
  }
41
38
  bool fix_fields(Session *session, Item **ref);
 
39
  bool check_vcol_func_processor(unsigned char *)
 
40
  { return true; }
42
41
};
43
42
 
44
 
} /* namespace drizzled */
45
 
 
46
43
#endif /* DRIZZLED_FUNCTION_LAST_INSERT_H */