diff options
author | monty@nosik.monty.fi <> | 2006-11-22 14:11:36 +0200 |
---|---|---|
committer | monty@nosik.monty.fi <> | 2006-11-22 14:11:36 +0200 |
commit | 89570bf966570ecce761e1fea2bb5d10db91f621 (patch) | |
tree | bd11d4efaf1d6469e7f29237347f12cdf71e605a /sql/sql_update.cc | |
parent | 38a92caeb77c6b22eeac985530cfbfdc890c792d (diff) | |
parent | 306b871d522b1fa744abf78acaafab2379a98401 (diff) | |
download | mariadb-git-89570bf966570ecce761e1fea2bb5d10db91f621.tar.gz |
Merge mysql.com:/home/my/mysql-5.0
into mysql.com:/home/my/mysql-5.1
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r-- | sql/sql_update.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index 1d119b99df0..2575f17d256 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -691,7 +691,7 @@ int mysql_update(THD *thd, thd->row_count_func= (thd->client_capabilities & CLIENT_FOUND_ROWS) ? found : updated; send_ok(thd, (ulong) thd->row_count_func, id, buff); - DBUG_PRINT("info",("%d records updated",updated)); + DBUG_PRINT("info",("%ld records updated", (long) updated)); } thd->count_cuted_fields= CHECK_FIELD_IGNORE; /* calc cuted fields */ thd->abort_on_warning= 0; @@ -788,7 +788,7 @@ static table_map get_table_map(List<Item> *items) while ((item= (Item_field *) item_it++)) map|= item->used_tables(); - DBUG_PRINT("info",("table_map: 0x%08x", map)); + DBUG_PRINT("info", ("table_map: 0x%08lx", (long) map)); return map; } |