~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_union.cc

Replacing all bzero() calls with memset() calls and removing the bzero.c file.
Also removing check for bzero from the 'configure.ac' autoconf file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
360
360
    if (union_result->create_result_table(thd, &types, test(union_distinct),
361
361
                                          create_options, "", false))
362
362
      goto err;
363
 
    bzero((char*) &result_table_list, sizeof(result_table_list));
 
363
    memset((char*) &result_table_list, 0, sizeof(result_table_list));
364
364
    result_table_list.db= (char*) "";
365
365
    result_table_list.table_name= result_table_list.alias= (char*) "union";
366
366
    result_table_list.table= table= union_result->table;