DROP TEMPORARY TABLE so Tom can turn the privs down
This commit is contained in:
parent
0ab2db3979
commit
ede76d8dc5
1 changed files with 2 additions and 2 deletions
|
@ -409,7 +409,7 @@ class AmfController < ApplicationController
|
||||||
ActiveRecord::Base.connection.update(sql)
|
ActiveRecord::Base.connection.update(sql)
|
||||||
|
|
||||||
deleteuniquenoderelations(db_uqn,uid,db_now)
|
deleteuniquenoderelations(db_uqn,uid,db_now)
|
||||||
ActiveRecord::Base.connection.execute("DROP TABLE #{db_uqn}")
|
ActiveRecord::Base.connection.execute("DROP TEMPORARY TABLE #{db_uqn}")
|
||||||
|
|
||||||
# 6b. insert new version of route into way_nodes
|
# 6b. insert new version of route into way_nodes
|
||||||
|
|
||||||
|
@ -541,7 +541,7 @@ class AmfController < ApplicationController
|
||||||
ActiveRecord::Base.connection.update(sql)
|
ActiveRecord::Base.connection.update(sql)
|
||||||
|
|
||||||
deleteuniquenoderelations(db_uqn,uid,db_now)
|
deleteuniquenoderelations(db_uqn,uid,db_now)
|
||||||
ActiveRecord::Base.connection.execute("DROP TABLE #{db_uqn}")
|
ActiveRecord::Base.connection.execute("DROP TEMPORARY TABLE #{db_uqn}")
|
||||||
|
|
||||||
# - delete way
|
# - delete way
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue