Skip to content

Commit 5f6ee71

Browse files
committed
[Rails3] New DatabaseStatement for empty insert statements.
1 parent 84a3d22 commit 5f6ee71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/active_record/connection_adapters/sqlserver/database_statements.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ def add_limit_offset!(sql, options)
106106
end
107107
end
108108

109-
def empty_insert_statement(table_name)
110-
"INSERT INTO #{quote_table_name(table_name)} DEFAULT VALUES"
109+
def empty_insert_statement_value
110+
"DEFAULT VALUES"
111111
end
112112

113113
def case_sensitive_equality_operator

0 commit comments

Comments
 (0)