fix sqlite "database is locked"
Creator 30.03.2012 09:12
Вот, вроде бы удалось победить периодический "database is locked" при использовании sqlite:
58d57
< int timeout;
102d100
< connection.timeout=3000;
140,143c138
< } else if (strcmp(key, "QueryTimeout")==0){
< connection.timeout=atoi(value);
< continue;
< } else
---
> } else
167,168d161
< } else {
< sqlite3_busy_timeout(connection.handle, connection.timeout);
433,435c426
< typedef int (*t_sqlite3_close)(sqlite3 *); t_sqlite3_close sqlite3_close;\
<
< typedef int (*t_sqlite3_busy_timeout)(sqlite3*, int ms); t_sqlite3_busy_timeout sqlite3_busy_timeout;
---
> typedef int (*t_sqlite3_close)(sqlite3 *); t_sqlite3_close sqlite3_close;
489d479
< DLINK(sqlite3_busy_timeout);
- fix sqlite "database is locked", Creator 30.03.2012 09:12