Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
42cdbe67
Commit
42cdbe67
authored
Nov 06, 2012
by
Martin Müllenhaupt
Browse files
fixed get_max_parameter_id() (see
http://www.sqlite.org/limits.html
at 9.)
parent
cd649454
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/sqlite/sqlite.h
dlib/sqlite/sqlite.h
+1
-1
No files found.
dlib/sqlite/sqlite.h
View file @
42cdbe67
...
@@ -337,7 +337,7 @@ namespace dlib
...
@@ -337,7 +337,7 @@ namespace dlib
unsigned
long
get_max_parameter_id
(
unsigned
long
get_max_parameter_id
(
)
const
)
const
{
{
return
SQLITE_LIMIT_VARIABLE_NUMBER
;
return
sqlite3_limit
(
db
.
get
(),
SQLITE_LIMIT_VARIABLE_NUMBER
,
-
1
)
;
}
}
unsigned
long
get_parameter_id
(
unsigned
long
get_parameter_id
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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