List:Commits« Previous MessageNext Message »
From:Mattias Jonsson Date:January 15 2010 12:06pm
Subject:bzr commit into mysql-5.1-bugteam branch (mattias.jonsson:3308)
Bug#42438
View as plain text  
#At file:///Users/mattiasj/clones/bzrroot/topush-51-bugteam/ based on revid:mattias.jonsson@stripped

 3308 Mattias Jonsson	2010-01-15
      pre-push fix for debug printing when partitioning is disabled (bug#42438)

    modified:
      sql/sql_table.cc
=== modified file 'sql/sql_table.cc'
--- a/sql/sql_table.cc	2010-01-14 13:32:06 +0000
+++ b/sql/sql_table.cc	2010-01-15 12:05:53 +0000
@@ -2036,7 +2036,8 @@ int mysql_rm_table_part2(THD *thd, TABLE
       }
       // Remove extension for delete
       *(end= path + path_length - reg_ext_length)= '\0';
-      DBUG_PRINT("info", ("deleting table of type %d", table_type->db_type));
+      DBUG_PRINT("info", ("deleting table of type %d",
+                          (table_type ? table_type->db_type : 0)));
       error= ha_delete_table(thd, table_type, path, db, table->table_name,
                              !dont_log_query);
       if ((error == ENOENT || error == HA_ERR_NO_SUCH_TABLE) && 


Attachment: [text/bzr-bundle]
Thread
bzr commit into mysql-5.1-bugteam branch (mattias.jonsson:3308)Bug#42438Mattias Jonsson15 Jan