-
-
Notifications
You must be signed in to change notification settings - Fork 461
SQL Admin Manager refinements and standardisation #974
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
Conversation
|
Good catch, thanks for this. I think we could go a step further and remove the hard coded 1st dim size.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Gonna wait for another set of eyes before it get's pulled in
maximsmol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me too :P
| #define SCHEMA_UPGRADE_1 1409 | ||
|
|
||
| int current_version[4] = {1, 0, 0, CURRENT_SCHEMA_VERSION}; | ||
| int current_version[] = {1, 0, 0, CURRENT_SCHEMA_VERSION}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird design question but why is it '1.0.0.%VERSION%" why not just the version without the prefix of '1.0.0.'?
(I know this probably isn't the right place to ask this either.)
|
Thank you. |
Changes:
sizeof()function to declare the size of the for loops as opposed to hard-coding the value because it feels cleaner to do it that way.