Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T torque-postgresql
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Carlos
  • torque-postgresql
  • Merge requests
  • !15

Avoid error with nil data sources

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Carlos requested to merge fix-schema-cache into master 6 years ago
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 2

For some reason, there's a situation where the @data_sources on the Schema Cache gets a key-value pair of nil, breaking the sort.

Compare
  • master (base)

and
  • latest version
    903390d1
    1 commit, 2 years ago

2 files
+ 2
- 2

    Preferences

    File browser
    Compare changes
lib/torque‎/postgresql‎
schema_‎cache.rb‎ +1 -1
versi‎on.rb‎ +1 -1
lib/torque/postgresql/schema_cache.rb
+ 1
- 1
  • View file @ 903390d1

  • Edit in single-file editor

  • Open in Web IDE


@@ -145,7 +145,7 @@ module Torque
# Generates the cache key for inheitance information
def inheritance_cache_key
@data_sources.keys.sort.join(',')
@data_sources.keys.compact.sort.join(',')
end
# Reload information about tables inheritance and dependencies, uses a
lib/torque/postgresql/version.rb
+ 1
- 1
  • View file @ 903390d1

  • Edit in single-file editor

  • Open in Web IDE

module Torque
module PostgreSQL
VERSION = '0.2.4'
VERSION = '0.2.5'
end
end
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
1
CLA Signed
1
CLA Signed
    Assign labels
  • Manage project labels

Milestone
5.x
5.x
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference: facebook/create-react-app!5482
Source branch: fix-schema-cache

Menu

Explore Projects Groups Snippets