mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
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:
parent
0a439b6b61
commit
c664c40ac2
5 changed files with 145 additions and 19 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue