diff options
| author | Tetsuya Morimoto <tetsuya.morimoto@gmail.com> | 2017-11-05 20:01:16 +0900 |
|---|---|---|
| committer | Tetsuya Morimoto <tetsuya.morimoto@gmail.com> | 2017-11-05 20:01:16 +0900 |
| commit | 9dddfd1328d9fc20cb77129d1524fabddb7d8859 (patch) | |
| tree | ec81506c1d1a4fe0b236a81ab577ad10f4d88d91 | |
| parent | update to call _sqlite3_limit as a wrapper instead of sqlite3_limit (diff) | |
| download | golite-9dddfd1328d9fc20cb77129d1524fabddb7d8859.tar.gz golite-9dddfd1328d9fc20cb77129d1524fabddb7d8859.tar.xz | |
fix to be able to build with GOTAGS=libsqlite3
| -rw-r--r-- | sqlite3.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -120,6 +120,8 @@ void updateHookTrampoline(void*, int, char*, char*, sqlite3_int64); # define SQLITE_LIMIT_VARIABLE_NUMBER 9 # define SQLITE_LIMIT_TRIGGER_DEPTH 10 # define SQLITE_LIMIT_WORKER_THREADS 11 +# else +# define SQLITE_LIMIT_WORKER_THREADS 11 #endif static int _sqlite3_limit(sqlite3* db, int limitId, int newLimit) { |
