~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cached_item.h

  • Committer: Jay Pipes
  • Date: 2009-11-19 18:58:35 UTC
  • mto: (1223.1.2 push)
  • mto: This revision was merged to the branch mainline in revision 1224.
  • Revision ID: jpipes@serialcoder-20091119185835-o59wyfjiet3keutu
Fixes some valgrind warnings regarding conditionals depending on unintialized variables.  Use initializer lists properly, dang it. :) Also, removed the new_Cached_item() function's use_result_field, as this was only used for views and was producing a valgrind warning unnecessarily.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
  bool cmp(void);
91
91
};
92
92
 
93
 
Cached_item *new_Cached_item(Session *session, Item *item,
94
 
                             bool use_result_field);
 
93
Cached_item *new_Cached_item(Session *session, Item *item);
95
94
 
96
95
#endif /* DRIZZLED_CACHED_ITEM_H */