Skip to content

Commit

Permalink
Support fractional times and timestamps on SQLAnywhere
Browse files Browse the repository at this point in the history
I'm not sure why this was originally disabled.  SQLAnywhere
does support fractional seconds similar to Microsoft SQL
Server. I tested it and it does work.

This was actually enabled by the default_timestamp_format
and default_time_format changes committed earlier, but this
will fix usage with the round_timestamps extension.
  • Loading branch information
jeremyevans committed Dec 6, 2023
1 parent 06f0859 commit a46294b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
=== master

* Support fractional times and timestamps on SQLAnywhere (jeremyevans)

* Make round_timestamps extension use Dataset#sqltime_precision for rounding Sequel::SQLTime values (jeremyevans)

* Remove special handling of %N modifier in Dataset#default_timestamp_format (jeremyevans)
Expand Down
4 changes: 0 additions & 4 deletions lib/sequel/adapters/shared/sqlanywhere.rb
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,6 @@ def supports_join_using?
false
end

def supports_timestamp_usecs?
false
end

def supports_window_clause?
true
end
Expand Down

0 comments on commit a46294b

Please sign in to comment.