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

Quelle  innodb_bug54044.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[195] R[110] ADA[100]} [Methode: maximale Elemente, drei Dimensionen]

# This is the test for bug #54044. Special handle MYSQL_TYPE_NULL type
# during create table, so it will not trigger assertion failure.

--source include/have_innodb.inc

# This 'create table' operation no longer uses the NULL datatype.

CREATE TEMPORARY TABLE table_54044 ENGINE = INNODB
 AS SELECT IF(NULL  IS NOT NULL, NULL, NULL); 
SHOW CREATE TABLE table_54044;
DROP TABLE table_54044;

# This 'create table' should pass since it uses a Field_string of size 0.

CREATE TABLE tmp ENGINE = INNODB
 AS SELECT COALESCE(NULL, NULL, NULL), GREATEST(NULL, NULL), NULL;
SHOW CREATE TABLE tmp;
DROP TABLE tmp;

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