~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.cc

Merged remove-dead-Item-save_in_field_no_warnings into fix-order_st-BY-comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
#include <float.h>
55
55
 
56
56
using namespace std;
57
 
using namespace drizzled;
 
57
 
 
58
namespace drizzled
 
59
{
58
60
 
59
61
const String my_null_string("NULL", 4, default_charset_info);
60
62
 
467
469
    if (number_to_datetime(value, ltime, fuzzydate, &was_cut) == -1L)
468
470
    {
469
471
      char buff[22], *end;
470
 
      end= int64_t10_to_str(value, buff, -10);
 
472
      end= internal::int64_t10_to_str(value, buff, -10);
471
473
      make_truncated_value_warning(current_session, DRIZZLE_ERROR::WARN_LEVEL_WARN,
472
474
                                   buff, (int) (end-buff), DRIZZLE_TIMESTAMP_NONE,
473
475
                                   NULL);
612
614
  return false;
613
615
}
614
616
 
615
 
bool Item::reset_query_id_processor(unsigned char *)
616
 
{
617
 
  return false;
618
 
}
619
 
 
620
617
bool Item::register_field_in_read_map(unsigned char *)
621
618
{
622
619
  return false;
1763
1760
  }
1764
1761
}
1765
1762
 
 
1763
} /* namespace drizzled */