Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Romain De Laage De Bellefaye
LO21-projet
Commits
ab91b61e
Verified
Commit
ab91b61e
authored
Jun 08, 2021
by
Romain De Laage De Bellefaye
🌳
Browse files
Use -1 in autosql
parent
f6a308d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/autosql.cpp
View file @
ab91b61e
...
...
@@ -63,8 +63,8 @@ Fonction* Database::getFonction(const QString& name) const {
throw
"No rule defined for this object"
;
do
{
int
min
[
8
]
=
{
0
};
int
max
[
8
]
=
{
0
};
int
min
[
8
]
=
{
-
1
};
int
max
[
8
]
=
{
-
1
};
if
(
!
query
.
isNull
(
"min1"
))
{
min
[
0
]
=
query
.
value
(
"min1"
).
toInt
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment