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

Quelle  temp_table.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[140] VDM[56] R[48]} [Methode: maximale Elemente, drei Dimensionen]

--source include/have_innodb.inc

####################################################################
# TC to test temp-table DML optimization changes for correctness   #
# Sceanrio covered:         #
# 1. bulk-insert with rollback + commit: this will ensure btree    #
#    node split with rollback and commit.                          #
####################################################################

#-------------------------------------------------------------------
#
# 1. bulk-insert with rollback + commit: this will ensure btree    #
#    node split with rollback and commit.                          #
#
create temporary table t1
 (keyc int, c1 char(100), c2 char(100),
  primary key(keyc), index sec_index(c1)
 ) engine = innodb;
create temporary table t2
 (keyc int, c1 char(100), c2 char(100),
  primary key(keyc), index sec_index(c1)
 ) engine = innodb;
--source suite/innodb/include/dml_ops.inc
drop temporary table t1,t2;
#
--error ER_UNSUPPORTED_COMPRESSED_TABLE
create temporary table t1
 (keyc int, c1 char(100), c2 char(100),
  primary key(keyc), index sec_index(c1)
 ) engine = innodb key_block_size = 4;
create temporary table t1
 (keyc int, c1 char(100), c2 char(100),
  primary key(keyc), index sec_index(c1)
 ) engine = innodb;
set innodb_strict_mode=off;
--disable_warnings
create temporary table t2
 (keyc int, c1 char(100), c2 char(100),
  primary key(keyc), index sec_index(c1)
 ) engine = innodb key_block_size = 8;
set innodb_strict_mode=on;
--enable_warnings
--source suite/innodb/include/dml_ops.inc
drop temporary table t1, t2;
#
create temporary table t1
 (keyc int, c1 char(100), c2 char(100),
  primary key(keyc), index sec_index(c1)
 ) engine = innodb;
create temporary table t2
 (keyc int, c1 char(100), c2 char(100),
  primary key(keyc), index sec_index(c1)
 ) engine = innodb;
--source suite/innodb/include/dml_ops.inc

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