List:Commits« Previous MessageNext Message »
From:knielsen Date:January 13 2006 8:09am
Subject:bk commit into 5.1 tree (knielsen:1.2051) BUG#15910
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of knielsen. When knielsen does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2051 06/01/13 09:09:14 knielsen@stripped +1 -0
  BUG#15910: Fix longlong value, long printf() format mismatch error that fails
  on 32-bit big endian.

  sql/ha_partition.cc
    1.21 06/01/13 09:07:47 knielsen@stripped +1 -1
    BUG#15910: Cast longlong partition number to long, since my_error()
    format has no longlong qualifier.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	knielsen
# Host:	rt.int.sifira.dk
# Root:	/usr/local/mysql/mysql-5.1-bug15910

--- 1.20/sql/ha_partition.cc	2006-01-11 09:26:01 +01:00
+++ 1.21/sql/ha_partition.cc	2006-01-13 09:07:47 +01:00
@@ -3006,7 +3006,7 @@
   /* monty: needs to be called for the last used partition ! */
   if (error == HA_ERR_NO_PARTITION_FOUND)
     my_error(ER_NO_PARTITION_FOR_GIVEN_VALUE, MYF(0),
-             m_part_info->part_expr->val_int());
+             (long)m_part_info->part_expr->val_int());
   else
     m_file[0]->print_error(error, errflag);
   DBUG_VOID_RETURN;
Thread
bk commit into 5.1 tree (knielsen:1.2051) BUG#15910knielsen13 Jan