List:Commits« Previous MessageNext Message »
From:Dmitry Lenev Date:March 1 2011 12:00pm
Subject:bzr commit into mysql-trunk branch (Dmitry.Lenev:3711) Bug#11765505
View as plain text  
#At file:///home/dlenev/src/bzr/mysql-trunk-mrg/ based on revid:serge.kozlov@stripped

 3711 Dmitry Lenev	2011-03-01 [merge]
      Merged fix for bug #11765505 "58480: LARGE_TESTS.LOCK_TABLES_BIG
      IS FAILING" into trunk tree.

=== modified file 'mysql-test/suite/large_tests/t/lock_tables_big.test'
--- a/mysql-test/suite/large_tests/t/lock_tables_big.test	2009-09-11 20:26:35 +0000
+++ b/mysql-test/suite/large_tests/t/lock_tables_big.test	2011-03-01 11:47:04 +0000
@@ -1,6 +1,16 @@
 # Bug#24509 cannot use more than 2048 file descriptors on windows
+# This test requires approximately 6000 of files to be open simultaneously.
+# Let us skip it on platforms where open files limit is too low.
+let $max_open_files_limit= `SELECT @@open_files_limit < 6100`;
+if ($max_open_files_limit)
+  skip Need open_files_limit to be greater than 6100;
 create database many_tables;
 use many_tables;
@@ -19,14 +29,14 @@ while ($i)
 #lock all tables we just created (resembles mysqldump startup is doing with --all-databases operation)
-#There will be 3 descriptors for each table (table.FRM, table.MYI and table.MYD files) means 9000 files
+#There will be 2 descriptors for each table (table.MYI and table.MYD files) means 6000 files
 #descriptors altogether. For Microsoft C runtime, this is way too many.
 eval LOCK TABLES $table_list;
 unlock tables;
 drop database many_tables;
 --echo all done

No bundle (reason: revision is a merge).
bzr commit into mysql-trunk branch (Dmitry.Lenev:3711) Bug#11765505Dmitry Lenev1 Mar