Resize to options field of the tx_dlf_tokens table.

The options field keeps the serialized array of found UIDs of an OAI
set. With 6-digit UIDs it is only possible to have about 6500 objects in
an OAI set. In this case the serialized array is cutted an the OAI
plugin will fail with an exception.

Before commit 443aaff2cb this field was
textlong which might be really too long. This patch changes the field to
mediumtext wich should be able to keep about 1.6 million objects.
This commit is contained in:
Alexander Bigga 2020-01-03 15:24:28 +01:00
vecāks 85cc9d4659
revīzija b3a440c174
1 mainīti faili ar 1 papildinājumiem un 1 dzēšanām

Parādīt failu

@ -250,7 +250,7 @@ CREATE TABLE tx_dlf_tokens (
uid int(11) NOT NULL auto_increment,
tstamp int(11) DEFAULT '0' NOT NULL,
token varchar(255) DEFAULT '' NOT NULL,
options text NOT NULL,
options mediumtext NOT NULL,
ident varchar(30) DEFAULT '' NOT NULL,
PRIMARY KEY (uid),