erland;628766 Wrote: 
> Will the locking mode stick after you have set it via the CLI command or
> will it be restored at server restart or at some other situation ?
> 
> I'm asking since I got a request to make a plugin to make it easier for
> developers and beta testers to turn off locking during testing/debugging
> to make it possible to view the database while SBS is running.
Why write a separate plugin?  You can do this right now with
SrvrPowerCtrl.  Add a couple of custom commands like:

label: Unlock db
Command: cli://pragma locking_mode = NORMAL

label: Lock db
Command: cli://pragma locking_mode = EXCLUSIVE

You could then unlock or lock the db from the SBS webUI.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=74809

_______________________________________________
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to