Skip to content

Commit c013d5b

Browse files
committed
Adding CHANGELOG notes for previous view definition fix. Also update assert failuer notes to denote Time#usec as microseconds.
1 parent 052a6b4 commit c013d5b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11

22
MASTER
33

4-
*
4+
* Sometimes views are more than 4000 chars long and will return NULL for the VIEW_DEFINITION. If so, use
5+
sp_helptext procedure as a backup method. [Ken Collins]
56

67

78
* 2.2.8 (January 9th, 2009)

test/cases/adapter_test_sqlserver.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,13 +250,13 @@ def setup
250250
should 'find 003 millisecond in the DB with before and after casting' do
251251
existing_003 = SqlServerChronic.find_by_datetime!(@db_datetime_003)
252252
assert_equal @db_datetime_003, existing_003.datetime_before_type_cast
253-
assert_equal 3000, existing_003.datetime.usec, 'A 003 millisecond in SQL Server is 3000 milliseconds'
253+
assert_equal 3000, existing_003.datetime.usec, 'A 003 millisecond in SQL Server is 3000 microseconds'
254254
end
255255

256256
should 'find 123 millisecond in the DB with before and after casting' do
257257
existing_123 = SqlServerChronic.find_by_datetime!(@db_datetime_123)
258258
assert_equal @db_datetime_123, existing_123.datetime_before_type_cast
259-
assert_equal 123000, existing_123.datetime.usec, 'A 123 millisecond in SQL Server is 123000 milliseconds'
259+
assert_equal 123000, existing_123.datetime.usec, 'A 123 millisecond in SQL Server is 123000 microseconds'
260260
end
261261

262262
end

0 commit comments

Comments
 (0)