rdbms: combine trxLevel and trxShortId fields in Database
[lhc/web/wiklou.git] / includes / libs / rdbms / database / DatabasePostgres.php
index a19a1a4..92eac90 100644 (file)
@@ -1072,7 +1072,7 @@ __INDEXATTR__;
         * @param string $desiredSchema
         */
        public function determineCoreSchema( $desiredSchema ) {
-               if ( $this->trxLevel ) {
+               if ( $this->trxLevel() ) {
                        // We do not want the schema selection to change on ROLLBACK or INSERT SELECT.
                        // See https://www.postgresql.org/docs/8.3/sql-set.html
                        throw new DBUnexpectedError(