Added a way to enable exception loading

This commit is contained in:
Alexey Romanov
2013-03-25 00:49:12 +04:00
parent aeaa81f44b
commit b0f1aa1351
2 changed files with 2 additions and 1 deletions

View File

@@ -258,7 +258,7 @@ static int enable_load_extension(sqlite3_drv_t* drv, char *buf, int len) {
return 0;
}
#else
output_error(drv, SQLITE_MISUSE, "extension loading not enabled");
output_error(drv, SQLITE_MISUSE, "extension loading not enabled, recompile erlang-sqlite3 with ERLANG_SQLITE3_LOAD_EXTENSION defined");
return -1;
#endif
}