"...text-generation-inference.git" did not exist on "e415b690a68d7a0e149c996e46def41c867ff421"
Commit 42cdbe67 authored by Martin Müllenhaupt's avatar Martin Müllenhaupt
Browse files

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

parent cd649454
...@@ -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 (
......
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