Skip to content

Commit

Permalink
Merge pull request #30 from yahonda/add_links_to_explain_why_they_ret…
Browse files Browse the repository at this point in the history
…urn_false

Add links to explain why these methods return false
  • Loading branch information
hooopo committed Sep 15, 2021
2 parents fd18464 + 480ce99 commit 904b4d0
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 904b4d0

Please sign in to comment.