MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Gleb Shchepa Date:July 9 2008 9:21pm
Subject:bzr push into mysql-5.0 branch (gshchepa:2644 to 2645) Bug#37160
View as plain text  
 2645 Gleb Shchepa	2008-07-10 [merge]
      merge 5.0-main --> 5.0-bugteam
modified:
  configure.in
  mysql-test/suite/funcs_1/datadict/charset_collation.inc
  mysql-test/suite/funcs_1/t/charset_collation_1.test
  mysql-test/suite/funcs_1/t/charset_collation_3.test
  support-files/my-huge.cnf.sh
  support-files/my-innodb-heavy-4G.cnf.sh
  support-files/my-large.cnf.sh
  support-files/my-medium.cnf.sh
  support-files/my-small.cnf.sh

 2644 Matthias Leich	2008-07-09
      1. Fix for Bug#37160
         "funcs_2: The tests do not check if optional character
                     sets exist."
      2. Minor cleanup
modified:
  mysql-test/suite/funcs_2/charset/charset_master.test
  mysql-test/suite/funcs_2/t/innodb_charset.test
  mysql-test/suite/funcs_2/t/memory_charset.test
  mysql-test/suite/funcs_2/t/myisam_charset.test
  mysql-test/suite/funcs_2/t/ndb_charset.test

=== modified file 'configure.in'
--- a/configure.in	2008-06-10 12:25:21 +0000
+++ b/configure.in	2008-07-09 06:23:30 +0000
@@ -7,7 +7,7 @@ AC_INIT(sql/mysqld.cc)
 AC_CANONICAL_SYSTEM
 # The Docs Makefile.am parses this line!
 # remember to also change ndb version below and update version.c in ndb
-AM_INIT_AUTOMAKE(mysql, 5.0.66)
+AM_INIT_AUTOMAKE(mysql, 5.0.68)
 AM_CONFIG_HEADER([include/config.h:config.h.in])
 
 PROTOCOL_VERSION=10
@@ -23,7 +23,7 @@ NDB_SHARED_LIB_VERSION=$NDB_SHARED_LIB_M
 # ndb version
 NDB_VERSION_MAJOR=5
 NDB_VERSION_MINOR=0
-NDB_VERSION_BUILD=66
+NDB_VERSION_BUILD=68
 NDB_VERSION_STATUS=""
 
 # Set all version vars based on $VERSION. How do we do this more elegant ?

=== modified file 'mysql-test/suite/funcs_1/datadict/charset_collation.inc'
--- a/mysql-test/suite/funcs_1/datadict/charset_collation.inc	2008-03-07 16:33:07 +0000
+++ b/mysql-test/suite/funcs_1/datadict/charset_collation.inc	2008-06-30 20:16:06 +0000
@@ -8,7 +8,7 @@
 #
 # The amount and properties of character_sets/collations depend on the
 # build type
-# 2007-12 MySQL 5.0
+# 2007-12 MySQL 5.0, 2008-06 MySQL 5.1
 # ---------------------------------------------------------------------
 #
 # Variant 1 fits to
@@ -33,10 +33,22 @@
 # Variant 3 fits to
 #    version_comment       MySQL Community Server (GPL)
 #    version_comment       MySQL Cluster Server (Commercial)
+#    version_comment       MySQL Advanced Server (GPL)         5.1
+#    version_comment       MySQL Advanced Server (Commercial)  5.1
 #
 # Difference between variant 3 and 2 is within the collation properties
 # IS_COMPILED and SORTLEN.
 #
+# 2008-06 All time excluded variant is "vanilla".
+# How to build "vanilla":
+#    ./BUILD/autorun.sh
+#    ./configure
+#    ./make
+# Some properties of "vanilla"
+#    version_comment       Source distribution
+#    Compared to the variants 1 to 3 a lot of character sets are missing.
+#    Example: "ucs2_bin" is in variant 1 to 3 but not in "vanilla".
+#
 # Created:
 # 2007-12-18 mleich - remove the unstable character_set/collation subtests
 #                     from include/datadict-master.inc

=== modified file 'mysql-test/suite/funcs_1/t/charset_collation_1.test'
--- a/mysql-test/suite/funcs_1/t/charset_collation_1.test	2008-03-07 16:33:07 +0000
+++ b/mysql-test/suite/funcs_1/t/charset_collation_1.test	2008-06-30 20:16:06 +0000
@@ -22,9 +22,11 @@ if (`SELECT EXISTS (SELECT 1 FROM inform
        OR (    @@version_comment NOT LIKE '%Source%'
            AND @@version_comment NOT LIKE '%Enterprise%'
            AND @@version_comment NOT LIKE '%Classic%'
-           AND @@version_comment NOT LIKE '%Pushbuild%')`)
+           AND @@version_comment NOT LIKE '%Pushbuild%')
+       OR (SELECT count(*) = 0 FROM information_schema.collations
+                    WHERE collation_name = 'ucs2_bin')`)
 {
-  skip Test needs Enterprise, Classic , Pushbuild or Source-without-max build;
+  skip Test needs Enterprise, Classic , regular Pushbuild or Source-without-max build;
 }
 
 --source suite/funcs_1/datadict/charset_collation.inc

=== modified file 'mysql-test/suite/funcs_1/t/charset_collation_3.test'
--- a/mysql-test/suite/funcs_1/t/charset_collation_3.test	2008-03-07 16:33:07 +0000
+++ b/mysql-test/suite/funcs_1/t/charset_collation_3.test	2008-06-30 20:16:06 +0000
@@ -16,9 +16,10 @@
 #
 
 if (`SELECT @@version_comment NOT LIKE '%Community%'
-        AND @@version_comment NOT LIKE '%Cluster%'`)
+        AND @@version_comment NOT LIKE '%Cluster%'
+        AND @@version_comment NOT LIKE '%Advanced%'`)
 {
-   skip Test needs Community or Cluster build;
+   skip Test needs Community, Cluster or Advanced build;
 }
 
 --source suite/funcs_1/datadict/charset_collation.inc

=== modified file 'support-files/my-huge.cnf.sh'
--- a/support-files/my-huge.cnf.sh	2005-10-31 09:54:36 +0000
+++ b/support-files/my-huge.cnf.sh	2008-06-10 19:10:56 +0000
@@ -46,6 +46,9 @@ thread_concurrency = 8
 # 
 #skip-networking
 
+# Disable Federated by default
+skip-federated
+
 # Replication Master Server (default)
 # binary logging is required for replication
 log-bin=mysql-bin

=== modified file 'support-files/my-innodb-heavy-4G.cnf.sh'
--- a/support-files/my-innodb-heavy-4G.cnf.sh	2005-10-31 09:54:36 +0000
+++ b/support-files/my-innodb-heavy-4G.cnf.sh	2008-06-10 19:10:56 +0000
@@ -357,6 +357,9 @@ myisam_repair_threads = 1
 myisam_recover
 
 
+# Disable Federated by default
+skip-federated
+
 # *** BDB Specific options ***
 
 # Use this option if you run a MySQL server with BDB support enabled but

=== modified file 'support-files/my-large.cnf.sh'
--- a/support-files/my-large.cnf.sh	2005-10-31 09:54:36 +0000
+++ b/support-files/my-large.cnf.sh	2008-06-10 19:10:56 +0000
@@ -46,6 +46,9 @@ thread_concurrency = 8
 # 
 #skip-networking
 
+# Disable Federated by default
+skip-federated
+
 # Replication Master Server (default)
 # binary logging is required for replication
 log-bin=mysql-bin

=== modified file 'support-files/my-medium.cnf.sh'
--- a/support-files/my-medium.cnf.sh	2005-01-10 23:16:07 +0000
+++ b/support-files/my-medium.cnf.sh	2008-06-10 19:10:56 +0000
@@ -44,6 +44,9 @@ myisam_sort_buffer_size = 8M
 # 
 #skip-networking
 
+# Disable Federated by default
+skip-federated
+
 # Replication Master Server (default)
 # binary logging is required for replication
 log-bin=mysql-bin

=== modified file 'support-files/my-small.cnf.sh'
--- a/support-files/my-small.cnf.sh	2005-01-10 23:16:07 +0000
+++ b/support-files/my-small.cnf.sh	2008-06-10 19:10:56 +0000
@@ -48,6 +48,9 @@ server-id	= 1
 # Uncomment the following if you want to log updates
 #log-bin=mysql-bin
 
+# Disable Federated by default
+skip-federated
+
 # Uncomment the following if you are NOT using BDB tables
 #skip-bdb
 

Thread
bzr push into mysql-5.0 branch (gshchepa:2644 to 2645) Bug#37160Gleb Shchepa9 Jul