~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/mysqlshow.c

Removed my_vsnprintf and my_snprintf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
465
465
      table name
466
466
    */
467
467
    mysql_real_escape_string(mysql, rows, table, (unsigned long)strlen(table));
468
 
    my_snprintf(query, sizeof(query), "show%s tables like '%s'",
469
 
                opt_table_type ? " full" : "", rows);
 
468
    snprintf(query, sizeof(query), "show%s tables like '%s'",
 
469
             opt_table_type ? " full" : "", rows);
470
470
  }
471
471
  else
472
 
    my_snprintf(query, sizeof(query), "show%s tables",
473
 
                opt_table_type ? " full" : "");
 
472
    snprintf(query, sizeof(query), "show%s tables",
 
473
             opt_table_type ? " full" : "");
474
474
  if (mysql_query(mysql, query) || !(result= mysql_store_result(mysql)))
475
475
  {
476
476
    fprintf(stderr,"%s: Cannot list tables in %s: %s\n",my_progname,db,