Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/MariaDB/mysql-test/main/   (MariaDB Server Version 8.1-8.4©)  Datei vom 1.9.2026 mit Größe 872 B image not shown  

Quelle  backup_log.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[114] Masm[70] Shell[50]} [Methode: maximale Elemente, drei Dimensionen]

# Testing of logging of ddl's under backup stages

--source include/have_innodb.inc
--source include/not_embedded.inc

CREATE TABLE t_exists (a INT);
CREATE TABLE t_exists_template (a INT);

connect (con1,localhost,root,,);
BACKUP STAGE START;
connection default;

--let $part_int=
--let $part_date=
--source backup_log.inc

--echo #
--echo # Testing create/drop/alter database
--echo #

create database mysqltest;
create table mysqltest.t90 (a int primary key, b int) engine=myisam;
create table mysqltest.t91 (a int primary key, b int) engine=innodb;
alter database mysqltest character set utf8;
drop database mysqltest;

--echo #
--echo # MENT-222 bug testing
--echo #
CREATE TABLE IF NOT EXISTS t_exists LIKE t_exists_template;

--source include/print_ddl_log.inc

--echo #
--echo # Cleanup
--echo #
DROP TABLE t_exists;
DROP TABLE t_exists_template;
disconnect con1;

[Dauer der Verarbeitung: 0.16 Sekunden, vorverarbeitet 2026-10-08]