Skip to content

codeintel: Fix nullable value in scanDumps

Warren Gifford requested to merge ef/fix into main

Created by: efritz

This fixes the following errors:

[enterprise-frontend] ERROR codeintel.dbstore.FindClosestDumps, error: sql: Scan error on column index 15, name "indexer_version": converting NULL to string is unsupported, count: 1, elapsed: 0.021382459, repositoryID: 3, commit: 9d1f353a285b3094bc33bdae277a19aedabe8b71, path: diff/diff.go, rootMustEnclosePath: true, indexer:
[enterprise-frontend] ERROR codeintel.resolvers.findClosestDumps, error: dbstore.FindClosestDumps: sql: Scan error on column index 15, name "indexer_version": converting NULL to string is unsupported, count: 1, elapsed: 0.0214995, repositoryID: 3, commit: 9d1f353a285b3094bc33bdae277a19aedabe8b71, path: diff/diff.go, exactPath: true, indexer:
[enterprise-frontend] ERROR codeintel.resolvers.QueryResolver, error: dbstore.FindClosestDumps: sql: Scan error on column index 15, name "indexer_version": converting NULL to string is unsupported, count: 1, elapsed: 0.023035125, repositoryID: 3, commit: 9d1f353a285b3094bc33bdae277a19aedabe8b71, path: diff/diff.go, exactPath: true, indexer:

Test plan

Existing unit tests.

Merge request reports

Loading