mirror of https://github.com/celery/kombu.git
Merge pull request #487 from endeepak/fix472
#472 : Fix oracle exception
This commit is contained in:
commit
29c31780c6
|
@ -53,6 +53,8 @@ class QueueManager(models.Manager):
|
|||
|
||||
|
||||
def select_for_update(qs):
|
||||
if connection.vendor == 'oracle':
|
||||
return qs
|
||||
try:
|
||||
return qs.select_for_update()
|
||||
except AttributeError:
|
||||
|
|
Loading…
Reference in New Issue