KxSystems / kdb

Companion files to kdb+ and q
https://code.kx.com/q
Apache License 2.0
417 stars 163 forks source link

Restore previous context in dbmaint.q #18

Open WillDaSilva opened 4 years ago

WillDaSilva commented 4 years ago

With this change, if the context isn't . when the script is loaded, then it won't be set to . after .os is defined. This allows for setting the context to .dbmaint before loading the script, and then having the definitions in the script put into the .dbmaint context.