mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Tests: removed --transaction-registry option [#387]
1. Reverts "Tests: disabled TRT for some IB tests [#302]"
6d78496aee
2. Removes setting TRANSACTION_REGISTRY=0 in mysqldump
--system-versioning-transaction-registry now is OFF by default.
This commit should be reverted back if the default will change.
Tests affected: mysqldump mysqldump-max openssl_1
This commit is contained in:
parent
5c0a19c873
commit
fbbdd44f72
9 changed files with 0 additions and 128 deletions
|
@ -748,7 +748,6 @@ static void write_header(FILE *sql_file, char *db_name)
|
|||
"/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;\n",
|
||||
path?"":"NO_AUTO_VALUE_ON_ZERO",compatible_mode_normal_str[0]==0?"":",",
|
||||
compatible_mode_normal_str);
|
||||
fprintf(sql_file, "/*!100300 SET GLOBAL TRANSACTION_REGISTRY=0 */;\n");
|
||||
check_io(sql_file);
|
||||
}
|
||||
} /* write_header */
|
||||
|
@ -763,7 +762,6 @@ static void write_footer(FILE *sql_file)
|
|||
}
|
||||
else if (!opt_compact)
|
||||
{
|
||||
fprintf(sql_file, "/*!100300 SET GLOBAL TRANSACTION_REGISTRY=1 */;\n");
|
||||
if (opt_tz_utc)
|
||||
fprintf(sql_file,"/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;\n");
|
||||
|
||||
|
|
|
@ -88,7 +88,6 @@ id name
|
|||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
/*!100300 SET GLOBAL TRANSACTION_REGISTRY=0 */;
|
||||
|
||||
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */;
|
||||
|
||||
|
@ -165,7 +164,6 @@ CREATE TABLE `t6` (
|
|||
/*!40000 ALTER TABLE `t6` DISABLE KEYS */;
|
||||
INSERT IGNORE INTO `t6` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||
/*!40000 ALTER TABLE `t6` ENABLE KEYS */;
|
||||
/*!100300 SET GLOBAL TRANSACTION_REGISTRY=1 */;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
|
@ -187,7 +185,6 @@ INSERT IGNORE INTO `t6` VALUES (1,'first value'),(2,'first value'),(3,'first va
|
|||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
/*!100300 SET GLOBAL TRANSACTION_REGISTRY=0 */;
|
||||
|
||||
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */;
|
||||
|
||||
|
@ -264,7 +261,6 @@ CREATE TABLE `t6` (
|
|||
/*!40000 ALTER TABLE `t6` DISABLE KEYS */;
|
||||
INSERT INTO `t6` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||
/*!40000 ALTER TABLE `t6` ENABLE KEYS */;
|
||||
/*!100300 SET GLOBAL TRANSACTION_REGISTRY=1 */;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -113,7 +113,6 @@ INSERT INTO t1 VALUES (1), (2);
|
|||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
/*!100300 SET GLOBAL TRANSACTION_REGISTRY=0 */;
|
||||
DROP TABLE IF EXISTS `t1`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
|
@ -127,7 +126,6 @@ LOCK TABLES `t1` WRITE;
|
|||
INSERT INTO `t1` VALUES (1),(2);
|
||||
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!100300 SET GLOBAL TRANSACTION_REGISTRY=1 */;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
|
@ -149,7 +147,6 @@ UNLOCK TABLES;
|
|||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
/*!100300 SET GLOBAL TRANSACTION_REGISTRY=0 */;
|
||||
DROP TABLE IF EXISTS `t1`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
|
@ -163,7 +160,6 @@ LOCK TABLES `t1` WRITE;
|
|||
INSERT INTO `t1` VALUES (1),(2);
|
||||
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!100300 SET GLOBAL TRANSACTION_REGISTRY=1 */;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
|
@ -185,7 +181,6 @@ UNLOCK TABLES;
|
|||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
/*!100300 SET GLOBAL TRANSACTION_REGISTRY=0 */;
|
||||
DROP TABLE IF EXISTS `t1`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
|
@ -199,7 +194,6 @@ LOCK TABLES `t1` WRITE;
|
|||
INSERT INTO `t1` VALUES (1),(2);
|
||||
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!100300 SET GLOBAL TRANSACTION_REGISTRY=1 */;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
|
|
|
@ -3,4 +3,3 @@
|
|||
--loose-file-key-management
|
||||
--loose-file-key-management-filename=$MYSQL_TEST_DIR/std_data/logkey.txt
|
||||
--file-key-management-encryption-algorithm=aes_cbc
|
||||
--transaction-registry=0
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
--innodb-encrypt-tables
|
||||
--innodb-encrypt-log
|
||||
--transaction-registry=0
|
||||
|
|
|
@ -38,7 +38,6 @@ AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
|||
--let $ibp=$ibp --innodb-data-home-dir=$bugdir --innodb-undo-directory=$bugdir
|
||||
--let $ibp=$ibp --innodb-undo-logs=20 --innodb-undo-tablespaces=3
|
||||
--let $ibp=$ibp --innodb-data-file-path=ibdata1:16M;ibdata2:10M:autoextend
|
||||
--let $ibp=$ibp --transaction-registry=0
|
||||
|
||||
--echo # Start mysqld without the possibility to create innodb_undo_tablespaces
|
||||
--let $restart_parameters= $ibp
|
||||
|
|
|
@ -20,7 +20,6 @@ let bugdir= $MYSQLTEST_VARDIR/tmp/row_format_redundant;
|
|||
--let $d=--innodb-data-home-dir=$bugdir --innodb-log-group-home-dir=$bugdir
|
||||
--let $d=$d --innodb-data-file-path=ibdata1:1M:autoextend
|
||||
--let $d=$d --innodb-undo-tablespaces=0 --innodb-stats-persistent=0
|
||||
--let $d=$d --transaction-registry=0
|
||||
--let $restart_parameters= $d
|
||||
--source include/restart_mysqld.inc
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@ let bugdir= $MYSQLTEST_VARDIR/tmp/table_flags;
|
|||
--let $d=$d --innodb-undo-tablespaces=0
|
||||
--let $d=$d --innodb-purge-rseg-truncate-frequency=1
|
||||
--let $d=$d --skip-innodb-fast-shutdown
|
||||
--let $d=$d --transaction-registry=0
|
||||
|
||||
--let $restart_parameters=$d --innodb-stats-persistent=0
|
||||
--source include/restart_mysqld.inc
|
||||
|
|
Loading…
Reference in a new issue