Patch to submit for SQLite support, but don't want to clobber existing patch ...

Ben West westbywest at gmail.com
Wed Jul 15 04:19:08 CEST 2009


I just managed to get basic SQLite function with SQLite v3.6 and
Freedradius v2.1.6, and I was about to submit a patch for sql_sqlite.c
driver.  However, I see a bugzilla entry about this was literally just
submitted today:
https://bugs.freeradius.org/bugzilla/show_bug.cgi?id=3

My patch involves changing the sql_query() function in that driver so
that it invokes sqlite3_step() directly for UPDATE, DELETE, and INSERT
queries, since otherwise sqlite3_step() only appears to get invoked
for SELECT queries in the sql_fetch_row() function.  But, I wanted to
ping the listserv first in case the author of the bugzilla entry above
had already addressed this issue with UPDATE/DELETE/INSERT queries.

-- 
Ben West
westbywest at gmail.com



More information about the Freeradius-Users mailing list