Test if full text search is not implemented and return False if it is and True otherwise.
()
| 410 | |
| 411 | |
| 412 | def full_text_search_missing(): |
| 413 | """Test if full text search is not implemented and return False if |
| 414 | it is and True otherwise.""" |
| 415 | |
| 416 | if not testing.against("mssql"): |
| 417 | return True |
| 418 | |
| 419 | with testing.db.connect() as conn: |
| 420 | result = conn.exec_driver_sql( |
| 421 | "SELECT cast(SERVERPROPERTY('IsFullTextInstalled') as integer)" |
| 422 | ) |
| 423 | return result.scalar() == 0 |
| 424 | |
| 425 | |
| 426 | class MatchTest(AssertsCompiledSQL, fixtures.TablesTest): |
nothing calls this directly
no test coverage detected