diff --git a/lib/Doctrine.php b/lib/Doctrine.php
index 95747a8a9f1152cc16bb698d1d9a7a176f8abc83..a0984dda20c802144b99bb205e1210cf1ddc8b40 100644
--- a/lib/Doctrine.php
+++ b/lib/Doctrine.php
@@ -317,12 +317,16 @@ final class Doctrine
      * @see Doctrine::ATTR_PORTABILITY
      */
     const PORTABILITY_FIX_ASSOC_FIELD_NAMES = 16;
-
+    /**
+     * Portability: makes Doctrine_Expression throw exception for unportable RDBMS expressions
+     * @see Doctrine::ATTR_PORTABILITY
+     */
+    const PORTABILITY_EXPR          = 32;
     /**
      * Portability: turn on all portability features.
      * @see Doctrine::ATTR_PORTABILITY
      */
-    const PORTABILITY_ALL           = 17;
+    const PORTABILITY_ALL           = 33;
 
     /**
      * LOCKMODE CONSTANTS