~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/row_count.h

  • Committer: Monty Taylor
  • Date: 2009-09-30 07:01:32 UTC
  • mto: This revision was merged to the branch mainline in revision 1184.
  • Revision ID: mordred@inaugust.com-20090930070132-b1ol1xu1rpajdddy
Small namespace cleanup.

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_FUNCTIONS_ROW_COUNT_H
21
 
#define DRIZZLED_FUNCTIONS_ROW_COUNT_H
 
20
#ifndef DRIZZLED_FUNCTION_ROW_COUNT_H
 
21
#define DRIZZLED_FUNCTION_ROW_COUNT_H
22
22
 
23
 
#include <drizzled/functions/func.h> 
 
23
#include <drizzled/function/func.h>
 
24
#include <drizzled/function/math/int.h>
24
25
 
25
26
class Item_func_row_count :public Item_int_func
26
27
{
29
30
  int64_t val_int();
30
31
  const char *func_name() const { return "row_count"; }
31
32
  void fix_length_and_dec() { decimals= 0; maybe_null=0; }
32
 
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
33
 
  { return true; }
34
33
};
35
34
 
36
35
 
37
 
#endif /* DRIZZLED_FUNCTIONS_ROW_COUNT_H */
 
36
#endif /* DRIZZLED_FUNCTION_ROW_COUNT_H */