title: SQLite3 WHERE clause doesn't return anything if datatype is BLOB
body: <p>I'm using SQLite version 3.11.0 2016-02-15 17:29:24 3d862f207e3adc00f78066799ac5a8c282430a5f on Ubuntu 16.04</p>
  
  <p>The query <code>SELECT * FROM wordlist WHERE term like 'juliet'</code> doesn't seem to return anything while the query <code>SELECT * FROM wordlist WHERE cast(term as text) like 'juliet'</code> returns as it should.</p>
  
  <p>The datatype of the <code>term</code> column is <code>blob</code> which is also strange since I defined it as TEXT.</p>
  
  <p>The problem doesn't occur in SQLite 3.8.10.2</p>