Skip to content

Commit

Permalink
fix(migrations) avoid preparing queries on migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Jan 19, 2016
1 parent 24c5fa3 commit 30b76d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/dao/cassandra/factory.lua
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ end
-- @return {table} error if any
function CassandraFactory:execute_queries(queries, no_keyspace)
local options = self:get_session_options()
options.query_options.same_coordinator = true
options.query_options.prepare = false

if no_keyspace then
options.keyspace = nil
Expand Down

0 comments on commit 30b76d0

Please sign in to comment.