rdbms: make LoadBalancer::getConnection() ignore CONN_TRX_AUTO when unusable
[lhc/web/wiklou.git] / includes / libs / rdbms / database / DatabaseSqlite.php
index 58b6ef9..3d6cee3 100644 (file)
@@ -103,6 +103,10 @@ class DatabaseSqlite extends Database {
                ] );
        }
 
+       protected static function getAttributes() {
+               return [ self::ATTR_DB_LEVEL_LOCKING => true ];
+       }
+
        /**
         * @param string $filename
         * @param array $p Options map; supports: