~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_lib.cc

  • Committer: Monty Taylor
  • Date: 2008-12-07 23:42:51 UTC
  • mto: This revision was merged to the branch mainline in revision 670.
  • Revision ID: monty@inaugust.com-20081207234251-yxtbg06jpylwej29
Finally removed all of the my_malloc stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
 
97
97
  dirp = opendir(directory_file_name(tmp_path,(char *) path));
98
98
  if (dirp == NULL ||
99
 
      ! (buffer= (char *) my_malloc(ALIGN_SIZE(sizeof(MY_DIR)) +
100
 
                                    ALIGN_SIZE(sizeof(DYNAMIC_ARRAY)) +
101
 
                                    sizeof(MEM_ROOT), MyFlags)))
 
99
      ! (buffer= (char *) malloc(ALIGN_SIZE(sizeof(MY_DIR)) + 
 
100
                                 ALIGN_SIZE(sizeof(DYNAMIC_ARRAY)) +
 
101
                                 sizeof(MEM_ROOT))))
102
102
    goto error;
103
103
 
104
104
  dir_entries_storage= (DYNAMIC_ARRAY*)(buffer + ALIGN_SIZE(sizeof(MY_DIR)));