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 824 B image not shown  

Quelle  identifier_partition.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[88] ABAP[48] VDM[44]} [Methode: maximale Elemente, drei Dimensionen]

--source include/have_partition.inc

--echo #
--echo # Start of 11.5 tests
--echo #

--echo #
--echo # MDEV-31340 Remove MY_COLLATION_HANDLER::strcasecmp()
--echo #

#
# Testing "U+0131 LATIN SMALL LETTER DOTLESS I" versus letters I and i.
# See comments on casefolding and octet length in identifier.test
#

SET NAMES utf8;

--error ER_SAME_NAME_PARTITION
CREATE TABLE t1
(
  a INT
)
PARTITION BY LIST (a)
(
  PARTITION I VALUES IN (0),
  PARTITION ı DEFAULT
);


CREATE TABLE t1
(
  a INT
)
PARTITION BY LIST (a)
(
  PARTITION I0 VALUES IN (0),
  PARTITION I1 VALUES IN (1),
  PARTITION Id DEFAULT
);
SHOW CREATE TABLE t1;
INSERT INTO t1 VALUES (0),(1),(2);
SELECT * FROM t1 PARTITION (ı0);
SELECT * FROM t1 PARTITION (ı1);
SELECT * FROM t1 PARTITION (ıd);
DROP TABLE t1;

--echo #
--echo # End of 11.5 tests
--echo #

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