-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage of bind variables for volatile filter conditions (2) #2087
Commits on Dec 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 35a34d5 - Browse repository at this point
Copy the full SHA 35a34d5View commit details
Commits on Dec 16, 2020
-
Usage of bind variables for volatile filter conditions.
This is useful especially in case of cursor_sharing=exact (cherry picked from commit f8b7a1a)
Configuration menu - View commit details
-
Copy full SHA for 600e920 - Browse repository at this point
Copy the full SHA 600e920View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c62d48 - Browse repository at this point
Copy the full SHA 4c62d48View commit details -
Allow usage of JDBC statement caching by DB config parameter (#2088)
Configuration menu - View commit details
-
Copy full SHA for b6be4a1 - Browse repository at this point
Copy the full SHA b6be4a1View commit details
Commits on Dec 25, 2020
-
* Ruby 3.0.0 Released https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
Configuration menu - View commit details
-
Copy full SHA for 32f2d66 - Browse repository at this point
Copy the full SHA 32f2d66View commit details -
Merge pull request #2091 from yahonda/ci_against_ruby3
CI against Ruby 3.0.0
Configuration menu - View commit details
-
Copy full SHA for 9f464c5 - Browse repository at this point
Copy the full SHA 9f464c5View commit details
Commits on Dec 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e913253 - Browse repository at this point
Copy the full SHA e913253View commit details -
Merge pull request #2094 from yahonda/exclude_ruby31_now
Exclude `ruby-head` and `ruby-debug` until minitest allows Ruby 3.1
Configuration menu - View commit details
-
Copy full SHA for 8b2937c - Browse repository at this point
Copy the full SHA 8b2937cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc94749 - Browse repository at this point
Copy the full SHA dc94749View commit details -
Merge pull request #2096 from yahonda/no_wontfix_if_upstream_labeled
Do not mark `wontfix` is `upstream` label attached
Configuration menu - View commit details
-
Copy full SHA for 2318ff5 - Browse repository at this point
Copy the full SHA 2318ff5View commit details
Commits on Jan 1, 2021
-
Fix write_lobs Invalid byte sequence in UTF-8 (#2097)
* Fix write_lobs "invalid byte sequence in UTF-8" write_lobs checks to see whether the value is blank before executing the SQL statement. If the LOB is binary blank? call causes "invalid byte sequence in UTF-8" exception. We can instead use unless value, which is applicable both to strings and binary data. * check serialized columns to be nil ActiveRecord persists empty Array ([]) and Hash ({}) as nil. So, after serializing the value need to check again. * Save non UTF-8 string in binary column * Fix layout offense * Fix space offenses * copy test string in order to force encoding * Use unary plus to unfreeze
Configuration menu - View commit details
-
Copy full SHA for c184d57 - Browse repository at this point
Copy the full SHA c184d57View commit details -
Require
rspec/autorun
to run one line spec file* Without this commit ```ruby $ ruby active_record_gem_spec.rb Fetching https://github.com/rails/rails.git ... snip ... Using rails 6.2.0.alpha from https://github.com/rails/rails.git (at master@afc79e3) $ ``` * With this commit ```ruby $ ruby active_record_gem_spec.rb Fetching https://github.com/rails/rails.git ... snip ... Using rails 6.2.0.alpha from https://github.com/rails/rails.git (at master@afc79e3) -- create_table(:posts, {:force=>true}) D, [2021-01-01T17:27:35.727438 #554514] DEBUG -- : (20.9ms) DROP TABLE "POSTS" D, [2021-01-01T17:27:35.733266 #554514] DEBUG -- : (5.4ms) DROP SEQUENCE "POSTS_SEQ" D, [2021-01-01T17:27:35.748060 #554514] DEBUG -- : (14.4ms) CREATE TABLE "POSTS" ("ID" NUMBER(38) NOT NULL PRIMARY KEY) D, [2021-01-01T17:27:35.751081 #554514] DEBUG -- : (2.8ms) CREATE SEQUENCE "POSTS_SEQ" START WITH 1 -> 0.1797s -- create_table(:comments, {:force=>true}) D, [2021-01-01T17:27:35.869071 #554514] DEBUG -- : (21.4ms) DROP TABLE "COMMENTS" D, [2021-01-01T17:27:35.875660 #554514] DEBUG -- : (6.3ms) DROP SEQUENCE "COMMENTS_SEQ" D, [2021-01-01T17:27:35.884094 #554514] DEBUG -- : (8.0ms) CREATE TABLE "COMMENTS" ("ID" NUMBER(38) NOT NULL PRIMARY KEY, "POST_ID" NUMBER(38)) D, [2021-01-01T17:27:35.887143 #554514] DEBUG -- : (2.8ms) CREATE SEQUENCE "COMMENTS_SEQ" START WITH 1 -> 0.1359s D, [2021-01-01T17:27:36.043216 #554514] DEBUG -- : ActiveRecord::InternalMetadata Load (1.4ms) SELECT "AR_INTERNAL_METADATA".* FROM "AR_INTERNAL_METADATA" WHERE "AR_INTERNAL_METADATA"."KEY" = :a1 FETCH FIRST :a2 ROWS ONLY [["key", "environment"], ["LIMIT", 1]] D, [2021-01-01T17:27:36.688610 #554514] DEBUG -- : Post Create (8.4ms) INSERT INTO "POSTS" ("ID") VALUES (:a1) [["id", 1]] D, [2021-01-01T17:27:37.203028 #554514] DEBUG -- : Comment Create (7.5ms) INSERT INTO "COMMENTS" ("ID") VALUES (:a1) [["id", 1]] D, [2021-01-01T17:27:37.214316 #554514] DEBUG -- : Comment Update (3.7ms) UPDATE "COMMENTS" SET "POST_ID" = :a1 WHERE "COMMENTS"."ID" = :a2 [["post_id", 1], ["id", 1]] D, [2021-01-01T17:27:37.221641 #554514] DEBUG -- : (5.0ms) SELECT COUNT(*) FROM "COMMENTS" WHERE "COMMENTS"."POST_ID" = :a1 [["post_id", 1]] D, [2021-01-01T17:27:37.226691 #554514] DEBUG -- : (4.2ms) SELECT COUNT(*) FROM "COMMENTS" D, [2021-01-01T17:27:37.231298 #554514] DEBUG -- : Comment Load (3.5ms) SELECT "COMMENTS".* FROM "COMMENTS" ORDER BY "COMMENTS"."ID" ASC FETCH FIRST :a1 ROWS ONLY [["LIMIT", 1]] D, [2021-01-01T17:27:37.236094 #554514] DEBUG -- : Post Load (3.2ms) SELECT "POSTS".* FROM "POSTS" WHERE "POSTS"."ID" = :a1 FETCH FIRST :a2 ROWS ONLY [["id", 1], ["LIMIT", 1]] . Finished in 1.67 seconds (files took 0.1944 seconds to load) 1 example, 0 failures $ ``` Refer https://relishapp.com/rspec/rspec-core/v/3-6/docs/command-line/run-with-ruby-command
Configuration menu - View commit details
-
Copy full SHA for e3c59d6 - Browse repository at this point
Copy the full SHA e3c59d6View commit details -
Merge pull request #2098 from yahonda/rspec_autorun
Require `rspec/autorun` to run one line spec file
Configuration menu - View commit details
-
Copy full SHA for 9184757 - Browse repository at this point
Copy the full SHA 9184757View commit details
Commits on Jan 3, 2021
-
Ensure that dictionary access is done properly with prepared SQL and …
…binds even if primary SQL is executed with connection.unprepared_statement (like behavior of AR.to_sql). Preserves the function of fix for issue #1687.
Configuration menu - View commit details
-
Copy full SHA for b9775fc - Browse repository at this point
Copy the full SHA b9775fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2026b4f - Browse repository at this point
Copy the full SHA 2026b4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48575d8 - Browse repository at this point
Copy the full SHA 48575d8View commit details
Commits on Jan 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 917d842 - Browse repository at this point
Copy the full SHA 917d842View commit details -
Merge pull request #2102 from rsim/revert-2098-rspec_autorun
Revert "Require `rspec/autorun` to run one line spec file"
Configuration menu - View commit details
-
Copy full SHA for 021cdaf - Browse repository at this point
Copy the full SHA 021cdafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9989df7 - Browse repository at this point
Copy the full SHA 9989df7View commit details
Commits on Jan 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3349c35 - Browse repository at this point
Copy the full SHA 3349c35View commit details -
Merge pull request #2107 from yahonda/enable_lint_duplicate_require_cop
Enable `Lint/DuplicateRequire` cop
Configuration menu - View commit details
-
Copy full SHA for 1924e96 - Browse repository at this point
Copy the full SHA 1924e96View commit details -
Enable
Layout/SpaceBeforeBrackets
copThis cop should work with RuboCop 1.8 which includes rubocop/rubocop#9291 ```ruby $ bundle exec rubocop -a Inspecting 71 files ...........................C........................................... Offenses: lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:495:39: C: [Corrected] Layout/SpaceBeforeBrackets: Remove the space before the opening brackets. @do_not_prefetch_primary_key [table_name] = do_not_prefetch = !has_primary_key?(table_name, owner, desc_table_name) ^ 71 files inspected, 1 offense detected, 1 offense corrected Tip: Based on detected gems, the following RuboCop extension libraries might be helpful: * rubocop-rake (http://github.com/rubocop-hq/rubocop-rake) * rubocop-rspec (http://github.com/rubocop-hq/rubocop-rspec) You can opt out of this message by adding the following to your config (see https://docs.rubocop.org/rubocop/extensions.html#extension-suggestions for more options): AllCops: SuggestExtensions: false $ ``` Refer rubocop/rubocop#9305
Configuration menu - View commit details
-
Copy full SHA for ccb3134 - Browse repository at this point
Copy the full SHA ccb3134View commit details
Commits on Jan 11, 2021
-
Ensure FKs are properly included in structure dumps
Due to a bug, the SQL describing them was being discarded
Configuration menu - View commit details
-
Copy full SHA for fac40bb - Browse repository at this point
Copy the full SHA fac40bbView commit details
Commits on Jan 12, 2021
-
Merge pull request #2109 from joshpencheon/fix-fk-structure-dump-incl…
…usion-bug Ensure FKs are properly included in structure dumps
Configuration menu - View commit details
-
Copy full SHA for 126346c - Browse repository at this point
Copy the full SHA 126346cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f34e9e7 - Browse repository at this point
Copy the full SHA f34e9e7View commit details -
Merge pull request #2108 from yahonda/enable_layout_space_before_brac…
…kets_cop Enable `Layout/SpaceBeforeBrackets` cop
Configuration menu - View commit details
-
Copy full SHA for dee5ec0 - Browse repository at this point
Copy the full SHA dee5ec0View commit details -
Merge pull request #2115 from rsim/revert-2060-farewall_travis
Revert "Disable Travis CI"
Configuration menu - View commit details
-
Copy full SHA for 4868d78 - Browse repository at this point
Copy the full SHA 4868d78View commit details -
Merge pull request #2086 from yahonda/address_travis_ci_warinings_rel…
…ease61 Address Travis CI warnings and bump Ubuntu version to 20.04
Configuration menu - View commit details
-
Copy full SHA for 417f454 - Browse repository at this point
Copy the full SHA 417f454View commit details -
* Ruby 3.0.0 Released https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/ Kind of cherry-pick #2093 to master
Configuration menu - View commit details
-
Copy full SHA for 6b35cd8 - Browse repository at this point
Copy the full SHA 6b35cd8View commit details -
Merge pull request #2085 from yahonda/bump_jruby_92140_release61
CI against JRuby 9.2.14.0
Configuration menu - View commit details
-
Copy full SHA for cf7cc6a - Browse repository at this point
Copy the full SHA cf7cc6aView commit details -
Merge pull request #2116 from yahonda/tidy_up_travis
Tidy up Travis CI configuration
Configuration menu - View commit details
-
Copy full SHA for daa7711 - Browse repository at this point
Copy the full SHA daa7711View commit details
Commits on Jan 13, 2021
-
Until this error is resolved https://travis-ci.com/github/rsim/oracle-enhanced/jobs/471296127#L517
Configuration menu - View commit details
-
Copy full SHA for c790259 - Browse repository at this point
Copy the full SHA c790259View commit details -
Merge pull request #2117 from yahonda/jruby_allow_failures
Allow failures for JRuby
Configuration menu - View commit details
-
Copy full SHA for 3bce56b - Browse repository at this point
Copy the full SHA 3bce56bView commit details -
Remove /*+ OPTIMIZER_FEATURES_ENABLE('11.2.0.2') */ hint for all_syno…
Configuration menu - View commit details
-
Copy full SHA for df2be45 - Browse repository at this point
Copy the full SHA df2be45View commit details -
Merge pull request #2110 from yahonda/diag_2090
Remove /*+ OPTIMIZER_FEATURES_ENABLE('11.2.0.2') */ hint for all_synonyms
Configuration menu - View commit details
-
Copy full SHA for c7839e7 - Browse repository at this point
Copy the full SHA c7839e7View commit details
Commits on Jan 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8f8cf80 - Browse repository at this point
Copy the full SHA 8f8cf80View commit details -
Merge pull request #2123 from yahonda/prepare_v611
Prepare release v6.1.1 [skip ci]
Configuration menu - View commit details
-
Copy full SHA for 6a5a9a5 - Browse repository at this point
Copy the full SHA 6a5a9a5View commit details -
structure dump: read column comments from all_tab_cols
...and filter by owner, rather than using user_tab_columns. Ensures column comments are dumped for the current schema
Configuration menu - View commit details
-
Copy full SHA for 7156d3d - Browse repository at this point
Copy the full SHA 7156d3dView commit details -
Merge pull request #2121 from joshpencheon/fix-dumping-column-comment…
…s-across-schemas structure dump: read column comments from all_tab_cols
Configuration menu - View commit details
-
Copy full SHA for 6bdf82d - Browse repository at this point
Copy the full SHA 6bdf82dView commit details
Commits on Jan 15, 2021
-
Usage of bind variables for volatile filter conditions.
This is useful especially in case of cursor_sharing=exact (cherry picked from commit f8b7a1a)
Configuration menu - View commit details
-
Copy full SHA for 005453b - Browse repository at this point
Copy the full SHA 005453bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01d79d6 - Browse repository at this point
Copy the full SHA 01d79d6View commit details -
Ensure that dictionary access is done properly with prepared SQL and …
…binds even if primary SQL is executed with connection.unprepared_statement (like behavior of AR.to_sql). Preserves the function of fix for issue #1687.
Configuration menu - View commit details
-
Copy full SHA for fa5387c - Browse repository at this point
Copy the full SHA fa5387cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d1e4da - Browse repository at this point
Copy the full SHA 7d1e4daView commit details -
Merge remote-tracking branch 'origin/rammpeter_bind_usage' into rammp…
…eter_bind_usage # Conflicts: # lib/active_record/connection_adapters/oracle_enhanced/structure_dump.rb
Configuration menu - View commit details
-
Copy full SHA for d76526b - Browse repository at this point
Copy the full SHA d76526bView commit details