Commit 56f8e4b7 authored by Claude Paroz's avatar Claude Paroz
Browse files

[1.5.x] Fixed cursor commit command in PostGIS backend

Thanks Bruno Renié for noticing the error.
Backport of 7b9a1fb9 from master.
parent d46b24e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,6 +91,6 @@ class PostGISCreation(DatabaseCreation):
            self.connection.settings_dict["NAME"] = test_database_name
            cursor = self.connection.cursor()
            cursor.execute("CREATE EXTENSION postgis")
            cursor.commit()
            cursor.connection.commit()

        return test_database_name