Skip to content

Commit

Permalink
Sql field expansion from 0xFFFF to 0xFFFFFF
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennett committed Jul 24, 2021
1 parent 2d2be8c commit f63d321
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libraries/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Document implements IDatabaseObject, JsonSerializable

// Maximum SQL field lengths, alter as appropriate
const MAX_BRIEF = 0xFF;
const MAX_CONTENT = 0xFFFF;
const MAX_CONTENT = 0xFFFFFF;
const MAX_EDITED_COUNT = 0x7FFFFFFFFFFFFFFF;
const MAX_ID = 0x7FFFFFFFFFFFFFFF;
const MAX_OPTIONS = 0x7FFFFFFFFFFFFFFF;
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/Packet.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Packet implements IDatabaseObject, JsonSerializable
const MAX_NAME = 0xFF;
const MAX_OPTIONS = 0x7FFFFFFFFFFFFFFF;
const MAX_PACKET_ID = 0xFF;
const MAX_REMARKS = 0xFFFF;
const MAX_REMARKS = 0xFFFFFF;
const MAX_TRANSPORT_LAYER_ID = 0x7FFFFFFFFFFFFFFF;
const MAX_USER_ID = 0x7FFFFFFFFFFFFFFF;

Expand Down

0 comments on commit f63d321

Please sign in to comment.