~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_create.c

  • Committer: Brian Aker
  • Date: 2008-12-09 17:33:02 UTC
  • mfrom: (656.1.54 devel)
  • Revision ID: brian@tangent.org-20081209173302-aptngvc7efxnatnt
Merge from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
    ci->reloc_rows=ci->max_rows;                /* Check if wrong parameter */
85
85
 
86
86
  if (!(rec_per_key_part=
87
 
        (ulong*) my_malloc((keys + uniques)*MI_MAX_KEY_SEG*sizeof(long),
88
 
                           MYF(MY_WME | MY_ZEROFILL))))
 
87
        (ulong*) malloc((keys + uniques)*MI_MAX_KEY_SEG*sizeof(long))))
89
88
    return(my_errno);
 
89
  memset(rec_per_key_part, 0, (keys + uniques)*MI_MAX_KEY_SEG*sizeof(long));
90
90
 
91
91
        /* Start by checking fields and field-types used */
92
92