Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  long_unique_using_hash.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[204] Lisp[60] Masm[60]} [Methode: maximale Elemente, drei Dimensionen]

#
# MDEV-371 Unique indexes for blobs
#

create table t1(a blob , unique(a) using hash);
--query_vertical show keys from t1;
drop table t1;

--error ER_TOO_LONG_KEY
create table t1(a blob , unique(a) using btree);

create table t1(a int , unique(a) using hash);
--query_vertical show keys from t1;
drop table t1;

create table t1(a int ,b int , c int,  unique(a, b, c) using hash);
show keys from t1;
insert into t1 values(1,1,1);
--error ER_DUP_ENTRY
insert into t1 values(1,1,1);
drop table t1;

create table t1(a int ,b int , c int,  unique(a, b, c) using hash) engine=memory;
show keys from t1;
insert into t1 values(1,1,1);
--error ER_DUP_ENTRY
insert into t1 values(1,1,1);
drop table t1;

[Dauer der Verarbeitung: 0.14 Sekunden, vorverarbeitet 2026-10-24]

                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,187,974
#Domains=976,208