Mercurial > p > roundup > code
comparison roundup/backends/back_mysql.py @ 5867:ee2e8f8d6648
Implement exact string search
.. in the 'filter' method of hyperdb.Class (and the corresponding
backend implementations).
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Mon, 26 Aug 2019 18:18:02 +0200 |
| parents | bc3e00a3d24b |
| children | 3a6114d377f4 |
comparison
equal
deleted
inserted
replaced
| 5865:04deafac71ab | 5867:ee2e8f8d6648 |
|---|---|
| 590 except MySQLdb.ProgrammingError as message: | 590 except MySQLdb.ProgrammingError as message: |
| 591 if str(message) != 'closing a closed connection': | 591 if str(message) != 'closing a closed connection': |
| 592 raise | 592 raise |
| 593 | 593 |
| 594 class MysqlClass: | 594 class MysqlClass: |
| 595 case_sensitive_equal = 'COLLATE utf8_bin =' | |
| 595 | 596 |
| 596 def supports_subselects(self): | 597 def supports_subselects(self): |
| 597 # TODO: AFAIK its version dependent for MySQL | 598 # TODO: AFAIK its version dependent for MySQL |
| 598 return False | 599 return False |
| 599 | 600 |
