Skip to content

Commit

Permalink
KNL-1379 Increased SESSION_USER_AGENT size from 255 to 255 CHAR in OR…
Browse files Browse the repository at this point in the history
…ACLE to prevent errors on requests from some browser that send bigger user-agent header
  • Loading branch information
sinmsinm committed Sep 7, 2015
1 parent 09be08f commit 6ad68f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/kernel-impl/src/main/sql/oracle/sakai_session.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CREATE TABLE SAKAI_SESSION
SESSION_USER VARCHAR2 (99),
SESSION_IP VARCHAR2 (128),
SESSION_HOSTNAME VARCHAR2 (255),
SESSION_USER_AGENT VARCHAR2 (255),
SESSION_USER_AGENT VARCHAR2 (255 CHAR),
SESSION_START TIMESTAMP WITH TIME ZONE,
SESSION_END TIMESTAMP WITH TIME ZONE,
SESSION_ACTIVE number(1,0)
Expand Down
4 changes: 4 additions & 0 deletions reference/docs/conversion/sakai_11_oracle_conversion.sql
Original file line number Diff line number Diff line change
Expand Up @@ -434,3 +434,7 @@ INSERT INTO SAKAI_SITE VALUES('!contact-us', 'Contact Us', null, null, null, '',
INSERT INTO SAKAI_SITE_PAGE VALUES('!contact-us', '!contact-us', 'Contact Us', '0', 1, '0' );
INSERT INTO SAKAI_SITE_TOOL VALUES('!contact-us', '!contact-us', '!contact-us', 'sakai.feedback', 1, 'Contact Us', NULL );
-- END SAK-29271

--KNL-1379 Bigger SESSION_USER_AGENT
ALTER TABLE SAKAI_SESSION MODIFY SESSION_USER_AGENT VARCHAR2 (255 CHAR);
-- END KNL-1379

0 comments on commit 6ad68f0

Please sign in to comment.