~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_timefunc.cc

  • Committer: Monty Taylor
  • Date: 2008-10-04 18:42:30 UTC
  • Revision ID: monty@inaugust.com-20081004184230-j2j1uottu2d0yl0m
Removed NullS. bu-bye.

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
 
122
122
  make_truncated_value_warning(current_thd, DRIZZLE_ERROR::WARN_LEVEL_WARN,
123
123
                               str->ptr(), str->length(),
124
 
                               DRIZZLE_TIMESTAMP_TIME, NullS);
 
124
                               DRIZZLE_TIMESTAMP_TIME, NULL);
125
125
  return make_datetime(format, ltime, str);
126
126
}
127
127
 
148
148
  {
149
149
    make_truncated_value_warning(current_thd, DRIZZLE_ERROR::WARN_LEVEL_WARN,
150
150
                                 str->ptr(), str->length(),
151
 
                                 DRIZZLE_TIMESTAMP_TIME, NullS);
 
151
                                 DRIZZLE_TIMESTAMP_TIME, NULL);
152
152
    make_time(format, l_time, str);
153
153
  }
154
154
 
211
211
                 - buf);
212
212
  make_truncated_value_warning(current_thd, DRIZZLE_ERROR::WARN_LEVEL_WARN,
213
213
                               buf, len, DRIZZLE_TIMESTAMP_TIME,
214
 
                               NullS);
 
214
                               NULL);
215
215
  
216
216
  return 1;
217
217
}
579
579
      {
580
580
        make_truncated_value_warning(current_thd, DRIZZLE_ERROR::WARN_LEVEL_WARN,
581
581
                                     val_begin, length,
582
 
                                     cached_timestamp_type, NullS);
 
582
                                     cached_timestamp_type, NULL);
583
583
        break;
584
584
      }
585
585
    } while (++val != val_end);
2844
2844
      sprintf(ptr, ":%02u:%02u", (uint)minute, (uint)second);
2845
2845
    make_truncated_value_warning(current_thd, DRIZZLE_ERROR::WARN_LEVEL_WARN,
2846
2846
                                 buf, len, DRIZZLE_TIMESTAMP_TIME,
2847
 
                                 NullS);
 
2847
                                 NULL);
2848
2848
  }
2849
2849
  
2850
2850
  if (make_time_with_warn((DATE_TIME_FORMAT *) 0, &ltime, str))