summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index fe2d6f8faa1..be063211a7d 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -3672,7 +3672,7 @@ purposes internal to the MySQL server", MYF(0));
}
if (res == 0)
- send_ok(thd, (thd->row_count_func < 0 ? 0 : thd->row_count_func));
+ send_ok(thd, (ulong) (thd->row_count_func < 0 ? 0 : thd->row_count_func));
else
goto error; // Substatement should already have sent error
}