summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorkostja@bodhi.(none) <>2007-12-13 05:37:38 +0300
committerkostja@bodhi.(none) <>2007-12-13 05:37:38 +0300
commit2789a12b6a2e615d9793e770eb9166dd1b891f94 (patch)
tree41fec9a7bbadd6d9ab6bef4c2350e0a4c2fb414a /sql/sql_class.cc
parent572ab7a6b068fa6973cc0716f3fec561bb79512f (diff)
downloadmariadb-git-2789a12b6a2e615d9793e770eb9166dd1b891f94.tar.gz
Fix a compilation warning and a subtle bug with truncation of the
last_insert_id introduced by the patch for Bug#12713 (part 1)
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index b68a532a2dc..3d3f6e4a965 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -383,7 +383,7 @@ Diagnostics_area::reset_diagnostics_area()
void
Diagnostics_area::set_ok_status(THD *thd, ha_rows affected_rows_arg,
- ulong last_insert_id_arg,
+ ulonglong last_insert_id_arg,
const char *message_arg)
{
DBUG_ASSERT(! is_set());