~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/str/format.cc

  • Committer: Monty Taylor
  • Date: 2010-04-22 02:46:23 UTC
  • mto: (1497.3.4 enable-dtrace)
  • mto: This revision was merged to the branch mainline in revision 1527.
  • Revision ID: mordred@inaugust.com-20100422024623-4urw8fi8eraci08p
Don't overwrite the pandora_vc_revinfo file if we don't have new
authoratative information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
#include "config.h"
21
 
#include "format.h"
 
21
#include <drizzled/function/str/format.h>
22
22
 
23
23
#include <limits>
24
24
 
35
35
 
36
36
const int FORMAT_MAX_DECIMALS= 30;
37
37
 
 
38
Item_func_format::Item_func_format(Item *org, Item *dec)
 
39
: Item_str_func(org, dec)
 
40
{
 
41
}
 
42
 
38
43
void Item_func_format::fix_length_and_dec()
39
44
{
40
45
  collation.set(default_charset());