~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler.cc

  • Committer: Kristian Nielsen
  • Date: 2009-01-06 23:32:16 UTC
  • mto: (779.1.1 devel)
  • mto: This revision was merged to the branch mainline in revision 784.
  • Revision ID: knielsen@odin-20090106233216-8zmh6ui58dvmrw5w
 - Don't allocate Table * with new when open_cache uses free() to
   de-allocate (we cannot use delete() as some Table * values are
   allocated with my_multi_malloc()).
 - Remove unused extern declaration.
 - Fix invalid cast of function pointer to different type.
 - Cleanup diplicate code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
#endif
47
47
 
48
48
 
49
 
extern HASH open_cache;
50
 
 
51
49
KEY_CREATE_INFO default_key_create_info= { HA_KEY_ALG_UNDEF, 0, {NULL,0}, {NULL,0} };
52
50
 
53
51
/* number of entries in handlertons[] */