From 6d37c089ae1dd9a47a70fca461f903663b067a16 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 5 May 2019 07:49:43 +0200 Subject: [PATCH] Readded comment about the default params of cursor.execute(). It was removed in in 728548e483a5a3486939b0c8e62520296587482e. --- django/db/backends/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/db/backends/utils.py b/django/db/backends/utils.py index 7fc2449a217..e52d39c69b2 100644 --- a/django/db/backends/utils.py +++ b/django/db/backends/utils.py @@ -80,6 +80,7 @@ class CursorWrapper: self.db.validate_no_broken_transaction() with self.db.wrap_database_errors: if params is None: + # params default might be backend specific. return self.cursor.execute(sql) else: return self.cursor.execute(sql, params)