summaryrefslogtreecommitdiff
path: root/libmysqld/lib_sql.cc
diff options
context:
space:
mode:
authorunknown <tsmith@ramayana.hindu.god>2008-04-30 19:14:41 -0600
committerunknown <tsmith@ramayana.hindu.god>2008-04-30 19:14:41 -0600
commita701a8499894cda51e4b0e78a66d88b11450850c (patch)
tree893f793818822f9d22378a1f9ed849c9d31f9f84 /libmysqld/lib_sql.cc
parent87298f01bff924530a25031725813b2f9d6d5d51 (diff)
downloadmariadb-git-a701a8499894cda51e4b0e78a66d88b11450850c.tar.gz
Use ulonglong to store row count in libmysld Protocol_text::remove_last_row()
(fix warnings). libmysqld/lib_sql.cc: Use ulonglong to store row count in Protocol_text::remove_last_row() (fix warnings).
Diffstat (limited to 'libmysqld/lib_sql.cc')
-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;