Ticket #17107: adapter.py.2.patch

File adapter.py.2.patch, 295 bytes (added by Tim Akinbo, 13 years ago)

An updated patch that works with r16826

Line 
142c42,45
2< return 'ST_GeomFromEWKB(%s)' % self._adapter.getquoted()
3---
4> if self.srid:
5> return 'ST_SetSRID(ST_GeomFromEWKB(%s), %d)' % (self._adapter.getquoted(), self.srid)
6> else:
7> return 'ST_GeomFromEWKB(%s)' % self._adapter.getquoted()
Back to Top