summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.(none)>2007-12-13 05:37:38 +0300
committerunknown <kostja@bodhi.(none)>2007-12-13 05:37:38 +0300
commitcb5c73962309046f6812c898f0bc6de375315716 (patch)
tree41fec9a7bbadd6d9ab6bef4c2350e0a4c2fb414a /sql/sql_class.cc
parenta0f3152d64a1ac9d7ea99c7ce2158972bada44ab (diff)
downloadmariadb-git-cb5c73962309046f6812c898f0bc6de375315716.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());