activerecord-oracle_enhanced-adapter 7.1.0.beta1 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ae057b4554fc7445518df5442839379547ea94ecae188766f51de26af7b44ca
4
- data.tar.gz: 57d0c16ba1e23aae7b8667019bf7ee3046f0d95f9a7b1372041776d2228a608e
3
+ metadata.gz: 2c54d072a9a65f5b91b230da739c0b2f117d397813b9f2dfb0ca56c13da00979
4
+ data.tar.gz: 0b4e805aff8d23258dda658e70a87494cb93d6da7b5e0024bd74a3807f54295e
5
5
  SHA512:
6
- metadata.gz: 688ad4ebead316af951e1efdca85be5b91606df1a3eca0dbbfd405750b2850ef43ec8ed46e002e191d4e5850d935d2097237696911e841a03997f060584aef5f
7
- data.tar.gz: 9cd2c4a638386bdd3780c48a84f94af7fe853fe2beee6d6fd1ce0826d35d4bd08874109e2e9a6f11db7a440cfb88e9b03ac42586ecf2cc31978cca61925eac61
6
+ metadata.gz: 72464c92eb71576aae495a2e93674d6823e1a2967f7f8bc45116d14dfbe8f29291c71b7f122e83c74698834be25e729bfddc0b64baf23de7e1b26044960faf26
7
+ data.tar.gz: 165de73dc654f318d7dc3042ae10f669047733255decd38f9abb2c3db3522bbb6f4c471db44a1ffe40ebaab05b400f9cd2eede381ea1018ea28217529a1c7610
data/History.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 7.1.0 / 2024-09-25
2
+
3
+ * Changes and bug fixes
4
+ No changes since 7.1.0.beta2
5
+
6
+ ## 7.1.0.beta2 / 2024-09-23
7
+ * Changes and bug fixes
8
+ * Implement `build_explain_clause(options = [])` as no-op [#2394, #2398, #2402]
9
+
1
10
  ## 7.1.0.beta1 / 2024-09-23
2
11
 
3
12
  * Changes and bug fixes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.1.0.beta1
1
+ 7.1.0
@@ -65,7 +65,7 @@ module ActiveRecord
65
65
  true
66
66
  end
67
67
 
68
- def explain(arel, binds = [])
68
+ def explain(arel, binds = [], options = [])
69
69
  sql = "EXPLAIN PLAN FOR #{to_sql(arel, binds)}"
70
70
  return if /FROM all_/.match?(sql)
71
71
  if ORACLE_ENHANCED_CONNECTION == :jdbc
@@ -76,6 +76,11 @@ module ActiveRecord
76
76
  select_values("SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY)", "EXPLAIN").join("\n")
77
77
  end
78
78
 
79
+ def build_explain_clause(options = [])
80
+ # Oracle does not have anything similar to "EXPLAIN ANALYZE"
81
+ # https://docs.oracle.com/en/database/oracle/oracle-database/23/sqlrf/EXPLAIN-PLAN.html#GUID-FD540872-4ED3-4936-96A2-362539931BA0
82
+ end
83
+
79
84
  # New method in ActiveRecord 3.1
80
85
  # Will add RETURNING clause in case of trigger generated primary keys
81
86
  def sql_for_insert(sql, pk, binds, _returning)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-oracle_enhanced-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.0.beta1
4
+ version: 7.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raimonds Simanovskis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-22 00:00:00.000000000 Z
11
+ date: 2024-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord