in the checkins table, make the descid indexed to speed up queries. For this field to be indexed, its definition needs to disallow null entries.

git-svn-id: svn://10.0.0.236/trunk@83160 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
endico%mozilla.org
2000-11-30 22:58:39 +00:00
parent b405145196
commit 79fe962d1d

View File

@@ -136,7 +136,7 @@ create table checkins (
branchid mediumint not null,
addedlines int not null,
removedlines int not null,
descid mediumint,
descid mediumint not null,
unique (repositoryid,dirid,fileid,revision),
index(ci_when),
@@ -144,7 +144,8 @@ create table checkins (
index(repositoryid),
index(dirid),
index(fileid),
index(branchid)
index(branchid),
index(descid)
);
show columns from checkins;