Commit 42cdbe67 authored by Martin Müllenhaupt's avatar Martin Müllenhaupt

fixed get_max_parameter_id() (see http://www.sqlite.org/limits.html at 9.)

parent cd649454
......@@ -337,7 +337,7 @@ namespace dlib
unsigned long get_max_parameter_id (
) const
{
return SQLITE_LIMIT_VARIABLE_NUMBER;
return sqlite3_limit(db.get(), SQLITE_LIMIT_VARIABLE_NUMBER, -1);
}
unsigned long get_parameter_id (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment