~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/longstr.cc

  • Committer: Brian Aker
  • Date: 2009-01-28 19:37:25 UTC
  • mfrom: (779.3.11 devel)
  • Revision ID: brian@tangent.org-20090128193725-pz7g7dnp2dx0863e
Merge from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
*/
45
45
 
46
46
int
47
 
Field_longstr::report_if_important_data(const char *ptr, const char *end)
 
47
Field_longstr::report_if_important_data(const char *field_ptr, const char *end)
48
48
{
49
 
  if ((ptr < end) && table->in_use->count_cuted_fields)
 
49
  if ((field_ptr < end) && table->in_use->count_cuted_fields)
50
50
  {
51
 
    if (test_if_important_data(field_charset, ptr, end))
 
51
    if (test_if_important_data(field_charset, field_ptr, end))
52
52
    {
53
53
      if (table->in_use->abort_on_warning)
54
54
        set_warning(DRIZZLE_ERROR::WARN_LEVEL_ERROR, ER_DATA_TOO_LONG, 1);