~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/insert_value.cc

  • Committer: Jay Pipes
  • Date: 2009-08-24 17:31:40 UTC
  • mto: This revision was merged to the branch mainline in revision 1145.
  • Revision ID: jpipes@serialcoder-20090824173140-u8b1947jguwsfhkl
First phase removal of MTYP_TYPENR() macro.  This removes the unireg_check argument for all Field types where it is irrelevant (everything but numeric types and timestamp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
  {
84
84
    Field *tmp_field= field_arg->field;
85
85
    /* charset doesn't matter here, it's to avoid sigsegv only */
86
 
    tmp_field= new Field_null(0, 0, Field::NONE, field_arg->field->field_name,
87
 
                          &my_charset_bin);
 
86
    tmp_field= new Field_null(0, 0, field_arg->field->field_name, &my_charset_bin);
88
87
    if (tmp_field)
89
88
    {
90
89
      tmp_field->init(field_arg->field->table);