Perl 6 - the future is here, just unevenly distributed

IRC log for #takusen, 2011-02-05

| Channels | #takusen index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
11:55 burp joined #takusen
11:55 burp hi
11:56 burp is it possible to use something like http://www.sqlite.org/c3ref/busy_timeout.html for the takusen sqlite part?
11:56 burp I'm running an application with concurrent access to a sqlite database
11:56 burp and sqlite locks the whole database on a write access
11:56 burp so I ocasionally get DBFatal ("58","030") 5 "database is locked" errors
11:57 burp if one could set the busy_timeout, sqlite would wait a specified time for the lock to disappear
12:02 burp maybe I can just adjust openDb in SqliteFunctions.lhs for my purpose, as an first ugly hack
12:17 burp >     if rc == sqliteOK
12:17 burp >       then do
12:17 burp >           sqliteBusyTimeout db 1000
12:17 burp >           return db
12:17 burp let's see if this does the job ^^
12:25 burp of course you can't include generally such a huge timeout in takusen/sqlite
12:26 burp hm yeah, why do I do this there…
12:26 burp I can just foreign export it and use it in my code
12:26 burp after I received the dbhandle
15:00 lispy_ burp: hmm...so you solved it yourself?
15:15 burp guess so
15:16 burp by adding a sqliteBusyTimeout to SqliteFunctions.lhs

| Channels | #takusen index | Today | | Search | Google Search | Plain-Text | summary