Modify the permutations.test script so as to set any permutation specific configuration values before running each individual test script.

FossilOrigin-Name: 2662d8fef791f7b8b3b14f9c27dfedec84620dee
This commit is contained in:
dan
2016-04-27 18:54:49 +00:00
parent ad975d539e
commit 05accd2216
25 changed files with 127 additions and 64 deletions
+5 -3
View File
@@ -5213,7 +5213,9 @@ static int vfs_unregister_all(
/*
** tclcmd: vfs_reregister_all
**
** Restore all VFSes that were removed using vfs_unregister_all
** Restore all VFSes that were removed using vfs_unregister_all. Taking
** care to put the linked list back together in the same order as it was
** in before vfs_unregister_all was invoked.
*/
static int vfs_reregister_all(
ClientData clientData, /* Pointer to sqlite3_enable_XXX function */
@@ -5222,8 +5224,8 @@ static int vfs_reregister_all(
Tcl_Obj *CONST objv[] /* Command arguments */
){
int i;
for(i=0; i<nVfs; i++){
sqlite3_vfs_register(apVfs[i], i==0);
for(i=nVfs-1; i>=0; i--){
sqlite3_vfs_register(apVfs[i], 1);
}
return TCL_OK;
}