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

Quelle  innodb.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[112] ABAP[66] Masm[62]} [Methode: maximale Elemente, drei Dimensionen]

--source include/have_s3.inc
--source include/have_sequence.inc
--source include/have_innodb.inc

#
# Testing converting InnoDB tables to S3
#

#
# Create unique database for running the tests
#
--source create_database.inc
--disable_warnings
drop table if exists t1,t2,t3;
--enable_warnings

--echo #
--echo # Test ALTER TABLE to and from s3
--echo #

create table t1 (a int, b int) engine=innodb;
insert into t1 select seq,seq+10 from seq_1_to_1000;
alter table t1 engine=s3;
show create table t1;
alter table t1 comment="hello";
show create table t1;
alter table t1 engine=innodb;
show create table t1;
select count(*), sum(a), sum(b) from t1;
drop table t1;

#
# clean up
#
--source drop_database.inc

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