Re: [sqlite] How do bitwise operators work? Prototype done

2009-07-22 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Since the solution is now specific to Python, I suggest continuing on the pysqlite/APSW mailing list - http://itsystementwicklung.de/cgi-bin/mailman/listinfo/list-pysqlite and http://news.gmane.org/gmane.comp.python.db.pysqlite.user Le Hyaric Bruno

[sqlite] How do bitwise operators work? Prototype done

2009-07-22 Thread Le Hyaric Bruno
Hi thanks again Igor, I've successfully use sqlite3 on a quite real volume of data with custom bitwise functions for data selection. Here is the script Python 2.5 that serves as a proof of concept : import os import sqlite3 def blob_and(b1,b2): op1 = str(b1) op2 = str(b2) i = 0