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

Ensure ttl field is a number #344

Closed
jsoref opened this issue Feb 23, 2018 · 1 comment
Closed

Ensure ttl field is a number #344

jsoref opened this issue Feb 23, 2018 · 1 comment
Labels
bug Something isn't working unconfirmed No one from the team confirmed this
Milestone

Comments

@jsoref
Copy link
Contributor

jsoref commented Feb 23, 2018

I accidentally tried to change a ttl from 60 to 60-0:

SELECT ttl 
FROM records
                       
WHERE name = 'test.example.com' 
AND id != '115'
                       
AND domain_id = '2'
                       
AND TYPE = 'CNAME'
                       
AND ttl != '60-0'

SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  invalid input syntax for integer: "60-0"
LINE 5:                        AND ttl != '60-0'
                                          ^
@edmondas edmondas added bug Something isn't working unconfirmed No one from the team confirmed this labels Jan 2, 2022
@edmondas edmondas added this to the v2.1.9 milestone Jan 9, 2022
@edmondas
Copy link
Contributor

edmondas commented Jan 9, 2022

It cannot be reproduced with the latest code.

@edmondas edmondas closed this as completed Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed No one from the team confirmed this
Projects
None yet
Development

No branches or pull requests

2 participants