summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorlars-erik.bjork@sun.com <>2009-12-14 01:16:50 +0100
committerlars-erik.bjork@sun.com <>2009-12-14 01:16:50 +0100
commitfa00df05e391f0ef36ad7457c5dbef92d71326b1 (patch)
tree0f1883468a69a48fc129fd728f7880eeaece3516 /sql/sql_update.cc
parent4a12f66cc9fea527058161c461dbaa1af66c9d5c (diff)
parent44e2c65a2d2e8299e8c5b58d5538a6af5a375e38 (diff)
downloadmariadb-git-fa00df05e391f0ef36ad7457c5dbef92d71326b1.tar.gz
Merging
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index cfa383ce9cb..c988d746500 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -828,7 +828,7 @@ int mysql_update(THD *thd,
if (error < 0)
{
- char buff[STRING_BUFFER_USUAL_SIZE];
+ char buff[MYSQL_ERRMSG_SIZE];
my_snprintf(buff, sizeof(buff), ER(ER_UPDATE_INFO), (ulong) found, (ulong) updated,
(ulong) thd->cuted_fields);
thd->row_count_func=