now the writer supports tables and vectors.

still not tested, but using Log::default_writer=Log::WRITER_SQLITE seems to generate all
the right log-databases, etc.
This commit is contained in:
Bernhard Amann 2012-06-14 15:54:22 -07:00
parent 0a439b6b61
commit c664c40ac2
5 changed files with 145 additions and 19 deletions

View file

@ -35,6 +35,7 @@ protected:
private:
bool checkError(int code);
void ValToAscii(ODesc* desc, threading::Value* val);
int AddParams(threading::Value* val, int pos);
string GetTableType(int, int);
@ -42,6 +43,9 @@ private:
sqlite3 *db;
sqlite3_stmt *st;
char* set_separator;
int set_separator_len;
};
}