List:Commits« Previous MessageNext Message »
From:reggie Date:April 1 2006 6:03am
Subject:bk commit into 5.1 tree (reggie:1.2275)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of reggie. When reggie 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.2275 06/03/31 22:03:13 reggie@stripped +1 -0
  use show_table instead of share

  sql/sql_show.cc
    1.324 06/03/31 22:03:02 reggie@stripped +3 -3
    use show_table instead of share

# 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:	reggie
# Host:	linux.site
# Root:	/home/reggie/work/mysql-5.1

--- 1.323/sql/sql_show.cc	2006-03-31 11:42:00 -06:00
+++ 1.324/sql/sql_show.cc	2006-03-31 22:03:02 -06:00
@@ -2722,9 +2722,9 @@
                   ha_row_type[(uint) share->row_type],
                   NullS);
 #ifdef WITH_PARTITION_STORAGE_ENGINE
-    if (share->db_type == &partition_hton &&
-        share->partition_info != NULL && 
-        ((partition_info*)share->partition_info)->no_parts > 0)
+    if (show_table->s->db_type == &partition_hton && 
+        show_table->part_info != NULL && 
+        show_table->part_info->no_parts > 0)
       ptr= strmov(ptr, " partitioned");
 #endif
     table->field[19]->store(option_buff+1,
Thread
bk commit into 5.1 tree (reggie:1.2275)reggie1 Apr