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.
这个提交包含在:
Alexander Bigga 2020-01-03 15:24:28 +01:00
父节点 85cc9d4659
当前提交 b3a440c174
共有 1 个文件被更改,包括 1 次插入1 次删除

查看文件

@ -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),