X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FType.php;h=d45392353d4b799e2eb4d85ef4a0cec082313173;hb=34769821c1a4c494e1828c1e7100aedf2eee2caf;hp=7b0aeb5133d235aa8603bb59623b15db6d861222;hpb=d96bf18d5b1849cc8f21c8845706eaccc78db5f3;p=civicrm-core.git diff --git a/CRM/Utils/Type.php b/CRM/Utils/Type.php index 7b0aeb5133..d45392353d 100644 --- a/CRM/Utils/Type.php +++ b/CRM/Utils/Type.php @@ -67,6 +67,16 @@ class CRM_Utils_Type { FORTYFIVE = 45, HUGE = 45; + /** + * Maximum size of a MySQL BLOB or TEXT column in bytes. + */ + const BLOB_SIZE = 65535; + + /** + * Maximum value of a MySQL signed INT column. + */ + const INT_MAX = 2147483647; + /** * Gets the string representation for a data type. *