Re: [Dbmail-dev] create_tables_sqlite file --corrected patch

2005-02-18 Thread Geo Carncross
This is the corrected patch: --- sqlite/dbsqlite.c 2005/02/18 21:33:25 1.2 +++ sqlite/dbsqlite.c 2005/02/18 22:03:47 @@ -172,8 +172,8 @@ { unsigned long did = 0; while (length > 0) { - if (*from == '\'') *to++ = *from; - *to++ = *from; +

Re: [Dbmail-dev] create_tables_sqlite file

2005-02-18 Thread Geo Carncross
On Fri, 2005-02-18 at 22:54 +0100, Paul J Stevens wrote: > Garn, > > Patch applied and create file added to cvs. > > CVS diffs are a pain though. Please provide unified diffs I you can. Very well. > There's also a char * buffer problem with insertion. I see it now; must have missed a :w somepl

Re: [Dbmail-dev] create_tables_sqlite file

2005-02-18 Thread Paul J Stevens
Garn, Patch applied and create file added to cvs. CVS diffs are a pain though. Please provide unified diffs I you can. There's also a char * buffer problem with insertion. ./dbmail-users -f /etc/dbmail/dbmail.conf -a testuser Adding user testuser with password type ,0 bytes mailbox limit and

[Dbmail-dev] create_tables_sqlite file

2005-02-18 Thread Geo Carncross
This is what I have so far; it is based off the MySQL one, but because SQLite uses triggers to simulate uniqueness, and uses a postgres-like create index format, I use those. I'm considering adding support for DROP/IF by setting a trigger on sqlite_master, but I'm sure that'll look like line noise