-
Notifications
You must be signed in to change notification settings - Fork 82
KxDashboards - Debugging .kxdash.exec #651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -421,7 +421,7 @@ asyncexec:asyncexecjpt[;;raze;();0Wn] | |
| // execute a synchronous query | ||
| syncexecjpre36:{[query;servertype;joinfunction] | ||
| // Check correct function called | ||
| if[(.z.w<>0)&(.z.w in key .gw.call)¬ .gw.call .z.w; | ||
| if[(.z.w<>0)&(.z.w in key .gw.call)&(not .gw.call .z.w)& not @[value;`.kxdash.enabled;0b]; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this will allow it also seems strange to me that we are using
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @davidbuckley123 couple of points to pick up here if you get a chance
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I am only trying to enabled syncexec calls from a negative handle from kx dashboards. |
||
| @[neg .z.w;.gw.formatresponse[0b;0b;"Incorrect function used: asyncexec"];()]; | ||
| :(); | ||
| ]; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.kxdash.dashpsis executed after the original.z.psdefinition - are we actually usingdashparamsanywhere after this change? or thedashremoteanddashjoinfunctions? Seems like most of this script is possibly redundant if we're just using the original.z.ps?