~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/double.cc

  • Committer: Monty Taylor
  • Date: 2009-02-20 08:45:29 UTC
  • mto: (892.1.5 devel) (896.2.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 898.
  • Revision ID: mordred@inaugust.com-20090220084529-i9k07i048ltv6283
Fixed solaris warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
  {
118
118
    char buf[DOUBLE_TO_STRING_CONVERSION_BUFFER_SIZE];
119
119
    String tmp(buf, sizeof(buf), &my_charset_utf8_general_ci), *str;
120
 
    str= val_str(&tmp, 0);
 
120
    str= val_str(&tmp, &tmp);
121
121
    push_warning_printf(current_session, DRIZZLE_ERROR::WARN_LEVEL_WARN,
122
122
                        ER_TRUNCATED_WRONG_VALUE,
123
123
                        ER(ER_TRUNCATED_WRONG_VALUE), "INTEGER",