Merge in 5.11
[civicrm-core.git] / CRM / Utils / Type.php
index 7b0aeb5133d235aa8603bb59623b15db6d861222..d45392353d4b799e2eb4d85ef4a0cec082313173 100644 (file)
@@ -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.
    *