summaryrefslogtreecommitdiffstats
path: root/storage/spider/mysql-test/spider/t/ha_part.test
diff options
context:
space:
mode:
Diffstat (limited to 'storage/spider/mysql-test/spider/t/ha_part.test')
-rw-r--r--storage/spider/mysql-test/spider/t/ha_part.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/storage/spider/mysql-test/spider/t/ha_part.test b/storage/spider/mysql-test/spider/t/ha_part.test
index 21b5837c..4966d3d6 100644
--- a/storage/spider/mysql-test/spider/t/ha_part.test
+++ b/storage/spider/mysql-test/spider/t/ha_part.test
@@ -225,12 +225,14 @@ if ($HAVE_PARTITION)
PRIMARY KEY(a)
) $MASTER_1_ENGINE $MASTER_1_CHARSET $MASTER_1_COMMENT_HA_P_2_1;
--enable_query_log
+ --disable_ps_protocol
INSERT INTO ta_l2 (a, b, c) VALUES
(1, 'a', '2008-08-01 10:21:39'),
(2, 'b', '2000-01-01 00:00:00'),
(3, 'e', '2007-06-04 20:03:11'),
(4, 'd', '2003-11-30 05:01:03'),
(5, 'c', '2001-12-31 23:59:59');
+ --enable_ps_protocol
--echo
--echo select test
@@ -460,7 +462,9 @@ if ($HAVE_PARTITION)
--connection master_1
eval $MASTER_1_SET_RECOVERY_STATUS_P_2_1;
eval $MASTER_1_CHECK_LINK_STATUS;
+ --disable_ps_protocol
eval $MASTER_1_COPY_TABLES_P_2_1;
+ --enable_ps_protocol
if ($USE_CHILD_GROUP3)
{
if (!$OUTPUT_CHILD_GROUP3)
@@ -486,9 +490,11 @@ if ($HAVE_PARTITION)
--connection master_1
eval $MASTER_1_SET_OK_STATUS_P_2_1;
eval $MASTER_1_CHECK_LINK_STATUS;
+ --disable_ps_protocol
INSERT INTO ta_l2 (a, b, c) VALUES
(8, 'g', '2011-05-05 21:33:30'),
(9, 'h', '2011-05-05 22:32:10');
+ --enable_ps_protocol
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 ORDER BY a;
DROP TABLE ta_l2;
if ($USE_CHILD_GROUP2)
@@ -674,12 +680,14 @@ if ($HAVE_PARTITION)
PRIMARY KEY(a)
) $MASTER_1_ENGINE $MASTER_1_CHARSET $MASTER_1_COMMENT_HA_AS_P_2_1;
--enable_query_log
+ --disable_ps_protocol
INSERT INTO ta_l2 (a, b, c) VALUES
(1, 'a', '2008-08-01 10:21:39'),
(2, 'b', '2000-01-01 00:00:00'),
(3, 'e', '2007-06-04 20:03:11'),
(4, 'd', '2003-11-30 05:01:03'),
(5, 'c', '2001-12-31 23:59:59');
+ --enable_ps_protocol
--echo
--echo select test
@@ -918,9 +926,11 @@ if ($HAVE_PARTITION)
--connection master_1
eval $MASTER_1_SET_OK_STATUS_AS_P_2_1;
eval $MASTER_1_CHECK_LINK_STATUS;
+ --disable_ps_protocol
INSERT INTO ta_l2 (a, b, c) VALUES
(8, 'g', '2011-05-05 21:33:30'),
(9, 'h', '2011-05-05 22:32:10');
+ --enable_ps_protocol
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 ORDER BY a;
DROP TABLE ta_l2;
if ($USE_CHILD_GROUP2)