Skip to content

Commit db88df4

Browse files
committed
Fix CI
1 parent 86655aa commit db88df4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push, pull_request]
55
jobs:
66
test:
77
name: Run test suite
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-20.04 # TODO: Change back to 'ubuntu-latest' when https://github.com/microsoft/mssql-docker/issues/899 resolved.
99

1010
env:
1111
COMPOSE_FILE: docker-compose.ci.yml

lib/active_record/connection_adapters/sqlserver/database_statements.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def internal_exec_query(sql, name = "SQL", binds = [], prepare: false, async: fa
4747
if id_insert_table_name = query_requires_identity_insert?(sql)
4848
# If the table name is a view, we need to get the base table name for enabling identity insert.
4949
id_insert_table_name = view_table_name(id_insert_table_name) if view_exists?(id_insert_table_name)
50-
50+
5151
with_identity_insert_enabled(id_insert_table_name, conn) do
5252
result = internal_exec_sql_query(sql, conn)
5353
end

0 commit comments

Comments
 (0)