can pass sql into driver

This commit is contained in:
Max Lapshin
2009-10-13 15:09:28 +04:00
parent 89d9d0b17d
commit e14fbbadda
4 changed files with 49 additions and 50 deletions

View File

@@ -39,10 +39,6 @@ static int callback(void *notUsed, int argc, char **argv, char **azColName)
ETERM **record_list;
int i;
if (result == 0) {
result = erl_mk_empty_list();
}
record_list = malloc(argc * sizeof(ETERM *));
fprintf(log, "runs %d\n", argc);