From: Date: January 24 2006 9:41am Subject: bk commit into 5.1 tree (gluh:1.2078) BUG#16591 List-Archive: http://lists.mysql.com/commits/1551 X-Bug: 16591 Message-Id: <20060124084136.C87735288FA@eagle.intranet.mysql.r18.ru> Below is the list of changes that have just been committed into a local 5.1 repository of gluh. When gluh 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.2078 06/01/24 12:41:25 gluh@stripped +1 -0 Fix for bug#16591 Partitions: crash using information_schema.partitions sql/sql_show.cc 1.294 06/01/24 12:39:52 gluh@stripped +2 -1 Fix for bug#16591 Partitions: crash using information_schema.partitions # 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: gluh # Host: eagle.intranet.mysql.r18.ru # Root: /home/gluh/MySQL/Bugs/5.1.16591 --- 1.293/sql/sql_show.cc Thu Jan 19 06:56:01 2006 +++ 1.294/sql/sql_show.cc Tue Jan 24 12:39:52 2006 @@ -3587,7 +3587,7 @@ static int get_schema_partitions_record( String tmp_str; TIME time; TABLE *show_table= tables->table; - handler *file= show_table->file; + handler *file; #ifdef WITH_PARTITION_STORAGE_ENGINE partition_info *part_info= show_table->part_info; #endif @@ -3603,6 +3603,7 @@ static int get_schema_partitions_record( thd->clear_error(); DBUG_RETURN(0); } + file= show_table->file; #ifdef WITH_PARTITION_STORAGE_ENGINE if (part_info) {