~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/now.cc

  • Committer: Brian Aker
  • Date: 2008-12-23 05:59:22 UTC
  • Revision ID: brian@tangent.org-20081223055922-ycotcrvxc2zwupoo
Refactor session.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <drizzled/tztime.h>
24
24
#include <drizzled/session.h>
25
25
 
26
 
String *Item_func_now::val_str(String *str __attribute__((unused)))
 
26
String *Item_func_now::val_str(String *)
27
27
{
28
28
  assert(fixed == 1);
29
 
  str_value.set(buff,buff_length, &my_charset_bin);
 
29
  str_value.set(buff, buff_length, &my_charset_bin);
30
30
  return &str_value;
31
31
}
32
32