Changeset: 1f98a9503180 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1f98a9503180
Modified Files:
sql/backends/monet5/sql.mx
Branch: default
Log Message:
Patch for the dual column clients call.
diffs (22 lines):
diff --git a/sql/backends/monet5/sql.mx b/sql/backends/monet5/sql.mx
--- a/sql/backends/monet5/sql.mx
+++ b/sql/backends/monet5/sql.mx
@@ -459,7 +459,8 @@ end sql_environment;
function clients{inline}()( user:bat[:oid,:str], login:bat[:oid,:str],
lastcommand:bat[:oid,:str], actions:bat[:oid,:int], seconds:bat[:oid,:lng]);
U:= clients.getUsers();
u:= algebra.markH(U);
- L:= clients.getLogins();
+ (Z,L):= clients.getLogins();
+ U1:= algebra.join(Z,U);
l:= algebra.markH(L);
C:= clients.getLastCommand();
c:= algebra.markH(C);
@@ -467,7 +468,7 @@ function clients{inline}()( user:bat[:oi
a:= algebra.markH(A);
T:= clients.getTime();
t:= algebra.markH(T);
- return (u,l,c,a,t);
+ return (U1,l,c,a,t);
end clients;
function bbp{inline}()( id:bat[:oid,:int], name:bat[:oid,:str],
htype:bat[:oid,:str], ttype:bat[:oid,:str], count:bat[:oid,:lng],
refcnt:bat[:oid,:int], lrefcnt:bat[:oid,:int], location:bat[:oid,:str],
heat:bat[:oid,:int], dirty:bat[:oid,:str], status:bat[:oid,:str],
kind:bat[:oid,:str]);
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list