From 7262273457e55b684a8398edb956638206f9fcd9 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 23 Feb 2006 16:08:28 +0100 Subject: [PATCH] Change snprintf to my_snprintf client/mysqldump.c: snprintf => my_snprintf --- client/mysqldump.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/mysqldump.c b/client/mysqldump.c index aa6e6f649eb..161197821d6 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -3292,7 +3292,7 @@ static my_bool get_view_structure(char *table, char* db) result_table= quote_name(table, table_buff, 1); opt_quoted_table= quote_name(table, table_buff2, 0); - snprintf(query, sizeof(query), "SHOW CREATE TABLE %s", result_table); + my_snprintf(query, sizeof(query), "SHOW CREATE TABLE %s", result_table); if (mysql_query_with_error_report(sock, &table_res, query)) { safe_exit(EX_MYSQLERR); @@ -3335,10 +3335,10 @@ static my_bool get_view_structure(char *table, char* db) } - snprintf(query, sizeof(query), - "SELECT CHECK_OPTION, DEFINER, SECURITY_TYPE " \ - "FROM information_schema.views " \ - "WHERE table_name=\"%s\" AND table_schema=\"%s\"", table, db); + my_snprintf(query, sizeof(query), + "SELECT CHECK_OPTION, DEFINER, SECURITY_TYPE " \ + "FROM information_schema.views " \ + "WHERE table_name=\"%s\" AND table_schema=\"%s\"", table, db); if (mysql_query(sock, query)) { /*