Skip to content
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

add case for time.Time and decimal in bindvars #327

Merged
merged 3 commits into from
Mar 29, 2024
Merged

add case for time.Time and decimal in bindvars #327

merged 3 commits into from
Mar 29, 2024

Conversation

jycor
Copy link

@jycor jycor commented Mar 29, 2024

We were unable to use time.Time and decimal type variables bind vars, so they couldn't be used as arguments to prepare statements.
This PR addresses that issue.

fixes: dolthub/dolt#7665

@jycor jycor requested a review from zachmu as a code owner March 29, 2024 17:48
Copy link

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for adding the extra type to save us a second future PR

@jycor jycor changed the title add case for time.Time in bindvars add case for time.Time and decimal in bindvars Mar 29, 2024
@jycor jycor merged commit ba711b1 into main Mar 29, 2024
4 checks passed
@jycor jycor deleted the james/bind branch March 29, 2024 21:30
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.

Error 1105: type time.Time not supported as bind var
2 participants