FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: correct typos in sqlite catalog function names and comments by maxtaran2010 · Pull Request #4507 · sqlc-dev/sqlc · GitHub

/ sqlc Public

fix: correct typos in sqlite catalog function names and comments - #4507

Open
maxtaran2010 wants to merge 1 commit into
sqlc-dev:mainfrom
maxtaran2010:fix/typos-in-comments-and-sqlite-catalog
Open

fix: correct typos in sqlite catalog function names and comments#4507
maxtaran2010 wants to merge 1 commit into
sqlc-dev:mainfrom
maxtaran2010:fix/typos-in-comments-and-sqlite-catalog

Conversation

Copy link
Copy Markdown

Summary

Fix several typos found across the codebase:

  • internal/engine/sqlite/stdlib.go (functional bug): RAMDOM → RANDOM and RAMDOMBLOB → RANDOMBLOB. These misspellings in the SQLite built-in function catalog mean sqlc fails to recognize RANDOM() and RANDOMBLOB() in queries.
  • internal/codegen/golang/struct.go: prepand → prepend in comment
  • internal/codegen/golang/opts/override.go: unsiged → unsigned in comment
  • internal/compiler/selector.go: simpliest → simplest in comment
  • protos/plugin/codegen.proto: Overides → Overrides in comment

The RANDOM/RANDOMBLOB fix is the most impactful — it's a functional issue where queries using SQLite's built-in random number functions won't be recognized by sqlc.

- RAMDOM → RANDOM and RAMDOMBLOB → RANDOMBLOB in sqlite/stdlib.go:
  these misspellings caused sqlc to not recognize SQLite's RANDOM() and
  RANDOMBLOB() built-in functions in queries
- prepand → prepend in codegen/golang/struct.go (comment)
- unsiged → unsigned in codegen/golang/opts/override.go (comment)
- simpliest → simplest in compiler/selector.go (comment)
- Overides → Overrides in protos/plugin/codegen.proto (comment)
Copilot AI review requested due to automatic review settings July 8, 2026 09:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL