_sqliteSetSizeLimit
Set the maximale size to objects manipulate by SQLite3.
Prototype :
fun [ObjSqlite I I] I
- ObjSqlite : a sqlite3 object.
- I : flag : SQLITE_LENGTH_LIMIT, SQLITE_SQL_LENGTH_LIMIT, SQLITE_COLUMN_LIMIT, SQLITE_EXPR_DEPTH_LIMIT, SQLITE_COMPOUND_SELECT_LIMIT, SQLITE_VDBE_OP_LIMIT, SQLITE_FUNCTION_ARG_LIMIT, SQLITE_ATTACHED_LIMIT, SQLITE_LIKE_PATTERN_LENGTH_LIMIT, SQLITE_VARIABLE_NUMBER_LIMIT, SQLITE_TRIGGER_DEPTH_LIMIT. See 'note' below
- I : the new value.
Return : I the new value or nil if error.
See also :
_sqliteGetSizeLimit
Example :
typeof mydb = ObjSqlite;;
...
_fooId _sqliteSetSizeLimit mydb SCOL_SQLITE_SQL_LENGTH_LIMIT 1024;
Note
See : http://www.sqlite.org/c3ref/c_limit_attached.html;
and : http://www.sqlite.org/limits.html.