mirror of https://github.com/davisking/dlib.git
fixed get_max_parameter_id() (see http://www.sqlite.org/limits.html at 9.)
This commit is contained in:
parent
cd6494547e
commit
42cdbe6732
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue