Skip to content

Commit 531a7a9

Browse files
committed
Fix annotate comments to propagate to update_all
Ref: rails/rails#55269
1 parent 6b5ae0f commit 531a7a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/arel/visitors/sqlserver.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def visit_Arel_Nodes_UpdateStatement(o, collector)
5757
collect_nodes_for o.wheres, collector, " WHERE ", " AND "
5858
collect_nodes_for o.orders, collector, " ORDER BY "
5959
maybe_visit o.limit, collector
60+
maybe_visit o.comment, collector
6061
end
6162

6263
# Similar to PostgreSQL and SQLite.

0 commit comments

Comments
 (0)