Mysql, rails , or my own bug?

Hi guys,
I’m doing some intensive operations over my mysql database, after some
queries I get the error:

Processing 1616 of 12886
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_
adapters/abstract_adapter.rb:120:in log': Mysql::Error: #HY000Can't create/writ e to file 'C:\WINDOWS\TEMP\#sql_8ec_0.MYD' (Errcode: 13): SHOW FIELDS FROM featu res_supers (ActiveRecord::StatementInvalid) from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_recor d/connection_adapters/mysql_adapter.rb:184:inexecute’
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_recor
d/connection_adapters/mysql_adapter.rb:292:in columns' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_recor d/associations/has_and_belongs_to_many_association.rb:165:infinding_with_ambig
ious_select?’
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_recor
d/associations/has_and_belongs_to_many_association.rb:44:in find' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_recor d/associations/has_and_belongs_to_many_association.rb:93:infind_target’
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_recor
d/associations/association_proxy.rb:116:in load_target' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_recor d/associations/association_proxy.rb:109:inmethod_missing’
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_recor
d/associations/has_and_belongs_to_many_association.rb:81:in
`method_missing’
from samplesfmoodsok.rb:29
from samplesfmoodsok.rb:27
from samplesfmoodsok.rb:23

E:\CMLabsServices\PandoraExtractor>

I’ve no idea why, but if i restart the machine,sometimes, I don’t get
that error again… it’s funny because it only happens if i do a lot of
queries…
Any ideas ?

Tks in advance
Ze Maria

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs