~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/double.cc

  • Committer: Lee Bieber
  • Date: 2011-01-08 03:39:25 UTC
  • mfrom: (2062.1.2 build)
  • Revision ID: kalebral@gmail.com-20110108033925-koobar399kwrm4ba
Merge Brian - parser clean up
Merge Marisa - latest doc updates, fix sphinx warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
    char buf[DOUBLE_TO_STRING_CONVERSION_BUFFER_SIZE];
134
134
    String tmp(buf, sizeof(buf), &my_charset_utf8_general_ci), *str;
135
135
    str= val_str(&tmp, &tmp);
136
 
    Session *session= getTable() ? getTable()->in_use : current_session;
137
 
    push_warning_printf(session, DRIZZLE_ERROR::WARN_LEVEL_WARN,
 
136
    push_warning_printf(current_session, DRIZZLE_ERROR::WARN_LEVEL_WARN,
138
137
                        ER_TRUNCATED_WRONG_VALUE,
139
138
                        ER(ER_TRUNCATED_WRONG_VALUE), "INTEGER",
140
139
                        str->c_ptr());