1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Merge pull request #4575 from Deltik/fix/4574

Add index to database session handler for session expiry
This commit is contained in:
Cameron 2021-09-27 10:30:06 -07:00 committed by GitHub
commit c7dc227e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -479,8 +479,9 @@ CREATE TABLE session (
session_id varchar(250) NOT NULL default '',
session_expires int(10) unsigned NOT NULL default 0,
session_user int(10) unsigned default NULL,
session_data mediumtext NOT NULL,
PRIMARY KEY (session_id)
session_data longtext NOT NULL,
PRIMARY KEY (session_id),
INDEX (session_expires)
) ENGINE=MyISAM;
# --------------------------------------------------------