List:Internals« Previous MessageNext Message »
From:gluh Date:March 25 2005 10:19am
Subject:bk commit into 5.0 tree (gluh:1.1844) BUG#8941
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 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.1844 05/03/25 12:19:11 gluh@stripped +2 -0
  Fix for bug #8941: garbage MAX_ROWS=# from SHOW CREATE TABLE INFORMATION_SCHEMA.*
    -skip the print of 'MAX_ROWS=#' for 'SHOW CRETAE TABLE' with information schema tables


  sql/sql_show.cc
    1.228 05/03/25 12:17:51 gluh@stripped +1 -1
    Fix for bug #8941: garbage MAX_ROWS=# from SHOW CREATE TABLE INFORMATION_SCHEMA.*

  mysql-test/r/information_schema.result
    1.42 05/03/25 12:17:51 gluh@stripped +2 -2
    Fix for bug #8941: garbage MAX_ROWS=# from SHOW CREATE TABLE INFORMATION_SCHEMA.*

# 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.mysql.r18.ru
# Root:	/home/gluh/MySQL-BUGS/mysql-5.0.8941

--- 1.227/sql/sql_show.cc	Thu Mar 24 16:32:31 2005
+++ 1.228/sql/sql_show.cc	Fri Mar 25 12:17:51 2005
@@ -978,7 +978,7 @@
       packet->append(buff, (uint) (end- buff));
     }
 
-    if (share->max_rows)
+    if (share->max_rows && !table_list->schema_table)
     {
       packet->append(" MAX_ROWS=", 10);
       end= longlong10_to_str(share->max_rows, buff, 10);

--- 1.41/mysql-test/r/information_schema.result	Wed Mar 23 11:32:40 2005
+++ 1.42/mysql-test/r/information_schema.result	Fri Mar 25 12:17:51 2005
@@ -441,7 +441,7 @@
   `DEFAULT_COLLATE_NAME` varchar(64) NOT NULL default '',
   `DESCRIPTION` varchar(60) NOT NULL default '',
   `MAXLEN` bigint(3) NOT NULL default '0'
-) ENGINE=MEMORY DEFAULT CHARSET=utf8 MAX_ROWS=1818
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
 set names latin2;
 SHOW CREATE TABLE INFORMATION_SCHEMA.character_sets;
 Table	Create Table
@@ -450,7 +450,7 @@
   `DEFAULT_COLLATE_NAME` varchar(64) NOT NULL default '',
   `DESCRIPTION` varchar(60) NOT NULL default '',
   `MAXLEN` bigint(3) NOT NULL default '0'
-) ENGINE=MEMORY DEFAULT CHARSET=utf8 MAX_ROWS=1818
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
 set names latin1;
 create table t1 select * from information_schema.CHARACTER_SETS
 where CHARACTER_SET_NAME like "latin1";
Thread
bk commit into 5.0 tree (gluh:1.1844) BUG#8941gluh25 Mar