Trying to fix (this version doesn't work)

This commit is contained in:
Alexey Romanov
2011-04-05 12:44:14 +04:00
parent 12a5d3c9a6
commit 7935c3c652
3 changed files with 210 additions and 64 deletions

View File

@@ -73,7 +73,10 @@ typedef struct async_sqlite3_command {
async_sqlite3_command_type type;
union {
sqlite3_stmt *statement;
char *script;
struct {
char *script;
char *end;
};
};
ErlDrvTermData *dataset;
int term_count;
@@ -82,6 +85,7 @@ typedef struct async_sqlite3_command {
ptr_list *ptrs;
ptr_list *binaries;
int finalize_statement_on_free;
int error_code;
} async_sqlite3_command;