Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
yahonda committed Nov 29, 2024
1 parent 2ab0094 commit 46115d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,7 @@ def configure_connection
end.join(", ")

# ...and send them all in one query
pp variable_assignments
raw_execute("SET #{encoding} #{sql_mode_assignment} #{variable_assignments}", "SCHEMA")
end

Expand Down
2 changes: 2 additions & 0 deletions activerecord/test/config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ connections:
<% end %>
variables:
time_zone: '+00:00'
innodb_snapshot_isolation: 'OFF'
arunit2:
username: rails
encoding: utf8mb4
Expand Down Expand Up @@ -56,6 +57,7 @@ connections:
<% end %>
variables:
time_zone: '+00:00'
innodb_snapshot_isolation: 'OFF'
arunit2:
username: rails
encoding: utf8mb4
Expand Down

0 comments on commit 46115d4

Please sign in to comment.