~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.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:
2491
2491
  if (strcmp(table->alias, alias))
2492
2492
  {
2493
2493
    uint32_t length=(uint) strlen(alias)+1;
2494
 
    table->alias= (char*) my_realloc((char*) table->alias, length,
2495
 
                                     MYF(MY_WME));
 
2494
    table->alias= (char*) realloc((char*) table->alias, length);
2496
2495
    memcpy((void*) table->alias, alias, length);
2497
2496
  }
2498
2497
  /* These variables are also set in reopen_table() */