List:Commits« Previous MessageNext Message »
From:gluh Date:July 26 2006 11:06am
Subject:bk commit into 5.1 tree (gluh:1.2265) BUG#20871
View as plain text  
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@stripped, 2006-07-26 14:06:06+05:00, gluh@stripped +1 -0
  Bug#20871 Partitions: crash if --skip-innodb
  function mysql_unpack_partition(): return error if engine is disabled

  sql/sql_partition.cc@stripped, 2006-07-26 14:06:02+05:00, gluh@stripped +5 -0
    Bug#20871 Partitions: crash if --skip-innodb
    function mysql_unpack_partition(): return error if engine is disabled

# 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:	gluh.(none)
# Root:	/home/gluh/MySQL/Bugs/5.1.20871

--- 1.81/sql/sql_partition.cc	2006-07-26 14:06:15 +05:00
+++ 1.82/sql/sql_partition.cc	2006-07-26 14:06:15 +05:00
@@ -3477,6 +3477,11 @@
   }
   else
   {
+    if (part_info->default_engine_type->state == SHOW_OPTION_DISABLED)
+    {
+        result= TRUE;
+        goto end;
+    }
     DBUG_ASSERT(part_info->default_engine_type == default_db_type);
   }
   part_info->item_free_list= thd->free_list;
Thread
bk commit into 5.1 tree (gluh:1.2265) BUG#20871gluh26 Jul