There is a deadlock in the new mutex/condvar interaction that needs fixing.
Sending the EXEC_SQL request to the DB thread at the appropriate place in gateway.c, and waiting for the DB thread to respond before the end of the request's lifecycle (by receiving an acknowledgement on another queue/channel). The DB thread doesn't have to do anything with the request yet.
Having the DB thread open databases in response to the received requests, prepare statements, and execute them, using the normal VFS for now. (We should probably make up a subdirectory of the data directory for those files to live in.)
Next steps:
Signed-off-by: Cole Miller cole.miller@canonical.com