File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
lib/active_record/connection_adapters Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -475,9 +475,7 @@ def crdb_column_definitions(table_name)
475475 # That method will not work for CockroachDB because the error
476476 # originates from the "runExecBuilder" function, so we need
477477 # to modify the original to match the CockroachDB behavior.
478- def is_cached_plan_failure? ( e )
479- pgerror = e . cause
480-
478+ def is_cached_plan_failure? ( pgerror )
481479 pgerror . result . result_error_field ( PG ::PG_DIAG_SQLSTATE ) == FEATURE_NOT_SUPPORTED &&
482480 pgerror . result . result_error_field ( PG ::PG_DIAG_SOURCE_FUNCTION ) == "runExecBuilder"
483481 rescue
Original file line number Diff line number Diff line change 1212exclude :test_legacy_schema_dumping , "Geometric types are not supported in CockroachDB. See https://github.com/cockroachdb/cockroach/issues/21286."
1313exclude :test_legacy_roundtrip , "Geometric types are not supported in CockroachDB. See https://github.com/cockroachdb/cockroach/issues/21286."
1414exclude :test_legacy_mutation , "Geometric types are not supported in CockroachDB. See https://github.com/cockroachdb/cockroach/issues/21286."
15+ exclude :test_hash_assignment , "Geometric types are not supported in CockroachDB. See https://github.com/cockroachdb/cockroach/issues/21286."
You can’t perform that action at this time.
0 commit comments