mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
and adapt to AsciiInputOutput - seems to work...
This commit is contained in:
parent
b3dba9f0cc
commit
9c09dee294
7 changed files with 51 additions and 100 deletions
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include "../WriterBackend.h"
|
||||
#include "sqlite3.h"
|
||||
#include "../../AsciiInputOutput.h"
|
||||
|
||||
namespace logging { namespace writer {
|
||||
|
||||
|
@ -37,7 +38,6 @@ protected:
|
|||
|
||||
private:
|
||||
bool checkError(int code);
|
||||
void ValToAscii(ODesc* desc, threading::Value* val);
|
||||
|
||||
int AddParams(threading::Value* val, int pos);
|
||||
string GetTableType(int, int);
|
||||
|
@ -46,8 +46,11 @@ private:
|
|||
sqlite3 *db;
|
||||
sqlite3_stmt *st;
|
||||
|
||||
char* set_separator;
|
||||
int set_separator_len;
|
||||
string separator;
|
||||
string set_separator;
|
||||
string unset_field;
|
||||
|
||||
AsciiInputOutput* io;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue