~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_cmpfunc.h

  • Committer: Brian Aker
  • Date: 2008-07-29 07:47:38 UTC
  • mfrom: (212.6.1 bzero-memset)
  • Revision ID: brian@tangent.org-20080729074738-lfzim6htapm42f2o
MergeĀ fromĀ Mats

Show diffs side-by-side

added added

removed removed

Lines of Context:
1149
1149
      list.push_back(else_expr_arg);
1150
1150
    }
1151
1151
    set_arguments(list);
1152
 
    bzero(&cmp_items, sizeof(cmp_items));
 
1152
    memset(&cmp_items, 0, sizeof(cmp_items));
1153
1153
  }
1154
1154
  double val_real();
1155
1155
  int64_t val_int();
1206
1206
    :Item_func_opt_neg(list), array(0), have_null(0),
1207
1207
    arg_types_compatible(false)
1208
1208
  {
1209
 
    bzero(&cmp_items, sizeof(cmp_items));
 
1209
    memset(&cmp_items, 0, sizeof(cmp_items));
1210
1210
    allowed_arg_cols= 0;  // Fetch this value from first argument
1211
1211
  }
1212
1212
  int64_t val_int();