List:Commits« Previous MessageNext Message »
From:knielsen Date:January 6 2006 4:03pm
Subject:bk commit into 5.1 tree (knielsen:1.2046) BUG#16155
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.2046 06/01/06 17:02:57 knielsen@stripped +1 -0
  BUG#16155: Workaround AIX 5.2 64-bit compiler bug.

  sql/sql_delete.cc
    1.167 06/01/06 17:02:39 knielsen@stripped +3 -1
    BUG#16155: Workaround AIX 5.2 64-bit compiler bug.

# 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-bug16155

--- 1.166/sql/sql_delete.cc	2005-12-31 05:54:34 +01:00
+++ 1.167/sql/sql_delete.cc	2006-01-06 17:02:39 +01:00
@@ -890,7 +890,9 @@
   }
 
   // Remove the .frm extension
-  *(path + path_length - reg_ext_length)= '\0';
+  // AIX 5.2 64-bit compiler bug (BUG#16155): this crashes, replacement works.
+  //   *(path + path_length - reg_ext_length)= '\0';
+  path[path_length - reg_ext_length] = 0;
   error= ha_create_table(thd, path, table_list->db, table_list->table_name,
                          &create_info, 1);
   query_cache_invalidate3(thd, table_list, 0);
Thread
bk commit into 5.1 tree (knielsen:1.2046) BUG#16155knielsen6 Jan