summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authortsmith@ramayana.hindu.god <>2008-04-30 19:14:41 -0600
committertsmith@ramayana.hindu.god <>2008-04-30 19:14:41 -0600
commit5fa0982adb3f30a7af529586ce175f08d236bdcb (patch)
tree893f793818822f9d22378a1f9ed849c9d31f9f84 /libmysqld
parent7f00fb606abd97661927b050f5342dcdc837a5dc (diff)
downloadmariadb-git-5fa0982adb3f30a7af529586ce175f08d236bdcb.tar.gz
Use ulonglong to store row count in libmysld Protocol_text::remove_last_row()
(fix warnings).
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index 0f0fb2c1bda..6dfecdb2f5c 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -848,7 +848,7 @@ void Protocol_text::remove_last_row()
{
MYSQL_DATA *data= thd->cur_data;
MYSQL_ROWS **last_row_hook= &data->data;
- uint count= data->rows;
+ my_ulonglong count= data->rows;
DBUG_ENTER("Protocol_text::remove_last_row");
while (--count)
last_row_hook= &(*last_row_hook)->next;