~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/double.cc

  • Committer: Brian Aker
  • Date: 2008-10-20 04:28:21 UTC
  • mto: (492.3.21 drizzle-clean-code)
  • mto: This revision was merged to the branch mainline in revision 530.
  • Revision ID: brian@tangent.org-20081020042821-rqqdrccuu8195k3y
Second pass of thd cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
    char buf[DOUBLE_TO_STRING_CONVERSION_BUFFER_SIZE];
110
110
    String tmp(buf, sizeof(buf), &my_charset_utf8_general_ci), *str;
111
111
    str= val_str(&tmp, 0);
112
 
    push_warning_printf(current_thd, DRIZZLE_ERROR::WARN_LEVEL_WARN,
 
112
    push_warning_printf(current_session, DRIZZLE_ERROR::WARN_LEVEL_WARN,
113
113
                        ER_TRUNCATED_WRONG_VALUE,
114
114
                        ER(ER_TRUNCATED_WRONG_VALUE), "INTEGER",
115
115
                        str->c_ptr());