Skip to content

Commit

Permalink
Add links to explain why these methods return false
Browse files Browse the repository at this point in the history
  • Loading branch information
yahonda committed Sep 15, 2021
1 parent fd18464 commit 480ce99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/active_record/connection_adapters/tidb_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ class TidbAdapter < Mysql2Adapter
ADAPTER_NAME = 'Tidb'

def supports_savepoints?
# https://github.com/pingcap/tidb/issues/6840 support is required
false
end

def supports_foreign_keys?
# https://github.com/pingcap/tidb/issues/18209 support is required
false
end

Expand All @@ -51,6 +53,7 @@ def supports_bulk_alter?
end

def supports_advisory_locks?
# https://github.com/pingcap/tidb/issues/14994 support is required
false
end

Expand Down

0 comments on commit 480ce99

Please sign in to comment.