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

Quelle  net_thd_crash-12725.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[153] ABAP[80] CS[77]} [Methode: maximale Elemente, drei Dimensionen]

#
# MDEV-12725 select on federated table crashes server
# 
#
SET GLOBAL query_cache_size= 16*1024*1024;
SET GLOBAL query_cache_type= 1;
CREATE TABLE t1 (i INT);
--replace_result $MASTER_MYPORT MASTER_MYPORT
eval CREATE TABLE t2 (i INT) ENGINE=FEDERATED CONNECTION="mysql://root@localhost:$MASTER_MYPORT/test/t1";
--error ER_ILLEGAL_HA
ALTER TABLE t2 DISABLE KEYS;
--replace_result $MASTER_MYPORT MASTER_MYPORT
eval CREATE TABLE t3 (i INT) ENGINE=FEDERATED CONNECTION="mysql://root@localhost:$MASTER_MYPORT/test/t1";
source include/restart_mysqld.inc;
SET GLOBAL query_cache_size= default;
SET GLOBAL query_cache_type= default;
drop table t1, t2, t3;

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