summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authorunknown <ram@mysql.r18.ru>2003-07-14 15:32:31 +0500
committerunknown <ram@mysql.r18.ru>2003-07-14 15:32:31 +0500
commit350f20032a62cdc9ee01ebf500c8853e86fd6bfc (patch)
tree2eeea8f2a1c3eed8b966d312addf5c46318c9e11 /sql/sql_load.cc
parent1846a9eb5c1e8fb65fde6c4de821d0e329d7b45f (diff)
downloadmariadb-git-350f20032a62cdc9ee01ebf500c8853e86fd6bfc.tar.gz
Fix for the bug #841: wrong number of warnings
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r--sql/sql_load.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index 12acfb9b5df..d030eaf617c 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -318,8 +318,8 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
error= -1; // Error on read
goto err;
}
- sprintf(name,ER(ER_LOAD_INFO),info.records,info.deleted,
- info.records-info.copied,thd->cuted_fields);
+ sprintf(name, ER(ER_LOAD_INFO), (ulong) info.records, (ulong) info.deleted,
+ (ulong) (info.records - info.copied), (ulong) thd->cuted_fields);
send_ok(thd,info.copied+info.deleted,0L,name);
// on the slave thd->query is never initialized
if (!thd->slave_thread)