similar to: how to install busy_handler for SQLite3

Displaying 14 results from an estimated 14 matches similar to: "how to install busy_handler for SQLite3"

2008 Jan 15
6
SQLite concurrency, SQLite3::BusyException
I am currently experiencing concurrency issues after moving from MySQL to SQLite. My original program worked fined using MySQL but is now returning "SQLite3::BusyException" errors. The same result happens whether or not I enable the allow_concurrency flag. If I do manually acquire a lock on the SQLite DB the problem would disapear, but I thought that rails was supposed to handle this
2012 Jul 18
5
Any comment on adding #cast and #cast! to ActiveRecord::Relation?
Not getting any love (tender or otherwise) on my pull request<https://github.com/rails/rails/pull/7035>so I thought you folks might like to chip in. What do you think? #cast and #cast! allow you to declare a mapping from generated column names to simplified database column types (i.e. those used in migrations). This way scopes with columns generated in their select lists can also include
2008 Apr 28
4
Failed upgrade to Rails 2.0.2
I tried upgrading my site from 1.2.6 to 2.0.2 and now it''s completely dead. The main stumbling block was that I use ActionWebService. After googling around I found several different solutions to getting that to work, including changes to config/environment.rb, adding search paths, and changing gems. None of those seemed to work, and now I''m at the point where nothing works at
2007 May 28
12
Anyone using storeconfigs with a DB other than sqlite?
Just wondering if anyone is using a backend database other than sqlite, and if so, how easy/hard it was to configure. I''m constantly receiving "SQLite3::BusyException: database is locked..." which I presume is due to sqlite''s relatively coarse locking method. Cheers, James -- Senior Linux Platform Engineer Midrange Services AXA Technology Services - Asia Pacific
2005 Sep 06
1
Routing depending on sip response code?
Hey all, I'm trying to create redial on busy for my users, but haven't the foggiest on how to make asterisk route depending on the status code returned over SIP (483, Busy Here?). . . anyone know how to do this? Thanks Sherwood McGowan -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Jul 22
13
Sqlite3 busy and yet server has no load nor concurrency
Hi, Strange behavior here. On my dev machine code works, but on the production machine I get the dreaded: SQLite3::BusyException: database is locked INSERT INTO "comments" [...] What kind of bug could yield such behavior? It''s impossible the database times out, there are no concurrent requests coming in, and the db is only 150kB. Is there a possible race condition? Caching
2006 Aug 05
22
MySQL vs SQLite
I have an application where speed is probably the #1 priority here. I am using MySQL 5.0.22. Would SQL be considerably faster than MySQL? I know this has been discussed before, but the search on the forums is not working. Thanks for your help. -- Posted via http://www.ruby-forum.com/.
2009 Mar 11
1
How to dummy a DB adapter?
I am writing a library module to handle certain StatementInvalid type AR exceptions. I wish to catch the case where the db adapter in use is not supported by the module. I would like to test this situation and have only a vague idea as to how to proceed. My exception handling method selects the parsing method based on the adapter_name value. def hll_ar_exception(exception) raise
2007 Oct 08
1
How to get database adapter type programmatically in rails?
Hi,all I am developing a Rails application supporting both Mysql and Oracle. I have to use Native SQL statements some place. While we know the SQL grammar is quite different for Mysql and Oracle, so I have to get database adapter type programmatically in my codes to process different native SQL statements. I haven''t found any document for this situation. After some research, I have found
2010 Aug 13
10
:limit text mysql
I have a rails 3.rc app that I''m developing. I have a text entry in one my models that can sometimes be quite big. I tried setting :limit => 4294967296 on the text column in my migration file but this doesn''t seem to have any effect. The column is till created as a TEXT column rather than MEDIUMTEXT or LONGTEXT. Does anyone have any idea why this might be happening? Is there
2009 Sep 28
5
Multi-databases support
Hi, While I was hacking ovirt-server, I have found that it's currently restricted to Postgres DB. Even if I like postgres for serious work on a server, I really prefer to hack/dev locally on a Sqlite or MySQL DB. I have googled on rails in order to find a good answer for the "foreign key problem" which forces OVirt to stay on pg. I have found a plugin on this particular
2017 Oct 03
0
Asterisk 15.0.0 Now Available
The Asterisk Development Team would like to announce the release of Asterisk 15.0.0. This release is available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk The release of Asterisk 15.0.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following issues are resolved in this release:
2017 Aug 02
2
Asterisk 15.0.0-beta1 Now Available
The Asterisk Development Team would like to announce the first beta of Asterisk 15.0.0. This beta is available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk The release of Asterisk 15.0.0-beta1 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following issues are resolved in this beta:
2019 Dec 24
0
Certified Asterisk 16.3-cert1 Now Available
The Asterisk Development Team would like to announce the release of Certified Asterisk 16.3-cert1. This release is available for immediate download at https://downloads.asterisk.org/pub/telephony/certified-asterisk The release of Certified Asterisk 16.3-cert1 resolves several issues reported by the community and would have not been possible without your participation. *Thank you!* The following