Merge branch 'master' of ssh.github.com:alexeyr/erlang-sqlite3
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@echo off
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"
|
||||
|
||||
nmake /f msvc.mk compile_c
|
||||
nmake /f Makefile compile_c
|
||||
@@ -137,7 +137,7 @@ static void stop(ErlDrvData handle) {
|
||||
driver_free(driver_data->prepared_stmts);
|
||||
}
|
||||
sqlite3_close(driver_data->db);
|
||||
if (driver_data->log) {
|
||||
if (driver_data->log && (driver_data->log != stderr)) {
|
||||
fclose(driver_data->log);
|
||||
}
|
||||
driver_data->log = NULL;
|
||||
|
||||
Reference in New Issue
Block a user