~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/item.h

  • Committer: Brian Aker
  • Date: 2008-07-11 00:33:12 UTC
  • mfrom: (51.1.83 remove-dbug)
  • Revision ID: brian@tangent.org-20080711003312-f4sf5n2z3obor1u8
Comming Jay's merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1173
1173
  virtual Item *update_value_transformer(uchar *select_arg);
1174
1174
  virtual void print(String *str, enum_query_type query_type);
1175
1175
 
1176
 
  void dbug_print() {}
1177
 
 
1178
1176
  friend class Item_default_value;
1179
1177
  friend class Item_insert_value;
1180
1178
  friend class st_select_lex_unit;
2199
2197
  uint length;
2200
2198
 
2201
2199
public:
2202
 
  void dbug_print()
2203
 
  {
2204
 
    uchar *org_ptr;
2205
 
    org_ptr= field->ptr;
2206
 
    fprintf(DBUG_FILE, "new: ");
2207
 
    field->dbug_print();
2208
 
    field->ptr= buff;
2209
 
    fprintf(DBUG_FILE, ", old: ");
2210
 
    field->dbug_print();
2211
 
    field->ptr= org_ptr;
2212
 
    fprintf(DBUG_FILE, "\n");
2213
 
  }
2214
2200
  Cached_item_field(Field *arg_field) : field(arg_field)
2215
2201
  {
2216
2202
    field= arg_field;