summaryrefslogtreecommitdiff
path: root/mysql-test/t/not_embedded_server.test
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-01-30 15:44:49 +0200
committerGeorgi Kodinov <joro@sun.com>2009-01-30 15:44:49 +0200
commit3aec7ca4156e8427cec829d6d392e345d15ba20d (patch)
treea6a00e2376ec5327aa29d5a5b2441a06f8d146d4 /mysql-test/t/not_embedded_server.test
parent355d084567bb94a878fe586c75d0756d3fdf8204 (diff)
parent16a6158c4764d0a264c16ce7010753e16946ab42 (diff)
downloadmariadb-git-3aec7ca4156e8427cec829d6d392e345d15ba20d.tar.gz
merged 5.1-main -> 5.1-bugteam
Diffstat (limited to 'mysql-test/t/not_embedded_server.test')
-rw-r--r--mysql-test/t/not_embedded_server.test34
1 files changed, 23 insertions, 11 deletions
diff --git a/mysql-test/t/not_embedded_server.test b/mysql-test/t/not_embedded_server.test
index 5beee5967a3..4c7bbbda877 100644
--- a/mysql-test/t/not_embedded_server.test
+++ b/mysql-test/t/not_embedded_server.test
@@ -4,20 +4,32 @@
-- source include/not_embedded.inc
+
+# The following fails sporadically because 'check-testcase' runs
+# queries before this test and there is no way to guarantee that any
+# previous process finishes. The purpose of the test is not clearly
+# stated, there is no reference to any bug report, and "select from
+# I_S from prepared statement" doesn't look like something that's
+# really imporant to test. I'm commenting out this for now. If
+# anyone wants to keep this, please fix the race and motivate why we
+# need to test this. If you see this comment and it is after mid-2009
+# or so, feel free to remove this test from the file. /Sven
#
-# Show full process list with prepare
-# To not show other connections, this must be the first test and we must
-# have a server restart before this one
#
-# We don't have any 4.1 tests as we use I_S to query the PROCESSLIST to
-# exclude system threads that may/may not be active in the server
-# (namely the ndb injector thread)
+## Show full process list with prepare
+## To not show other connections, this must be the first test and we must
+## have a server restart before this one
+##
+## We don't have any 4.1 tests as we use I_S to query the PROCESSLIST to
+## exclude system threads that may/may not be active in the server
+## (namely the ndb injector thread)
+##
+## End of 4.1 tests
#
-# End of 4.1 tests
+#prepare stmt1 from ' SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST WHERE COMMAND!=\'Daemon\' ';
+#--replace_column 1 number 6 time 3 localhost
+#execute stmt1;
+#deallocate prepare stmt1;
-prepare stmt1 from ' SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST WHERE COMMAND!=\'Daemon\' ';
---replace_column 1 number 6 time 3 localhost
-execute stmt1;
-deallocate prepare stmt1;
# End of 5.1 tests