Bugs item #2956664, was opened at 2010-02-22 17:35
Message generated for change (Comment added) made by mr-meltdown
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2956664&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: MonetDB5 CVS Head
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Fabian (mr-meltdown)
Assigned to: Martin Kersten (mlkersten)
Summary: "user" module persistent over connections
Initial Comment:
(volund:five/src/mal) fabian% $INSTALL_DIR/bin/mclient -dsn4 -lmal
Welcome to mclient, the MonetDB interactive terminal
Type \q to quit, \? for a list of available commands
mal>function user.s0_0():void;
mal>io.print("hello");
mal>end s0_0;
mal>user.s0_0();
[ "hello" ]
(volund:five/src/mal) fabian% $INSTALL_DIR/bin/mclient -dsn4 -lmal
Welcome to mclient, the MonetDB interactive terminal
Type \q to quit, \? for a list of available commands
mal>user.s0_0();
[ "hello" ]
(volund:five/src/mal) fabian% $INSTALL_DIR/bin/mclient -dsn4 -lmal
Welcome to mclient, the MonetDB interactive terminal
Type \q to quit, \? for a list of available commands
mal>user.s0_0();
[ "hello" ]
(volund:five/src/mal) fabian%
I would have expected the function s0_0 to be destroyed upon client disconnect.
(volund:five/src/mal) fabian% $INSTALL_DIR/bin/mserver5 --version
MonetDB server v5.19.0 (64-bit), based on kernel v1.37.0 (64-bit oids)
Copyright (c) 1993-July 2008 CWI
Copyright (c) August 2008-2010 MonetDB B.V., all rights reserved
Visit http://monetdb.cwi.nl/ for further information
Found 7.8GiB available memory, 4 available cpu cores
Configured for prefix: /ufs/fabian/scratch/monetdb/current/program-x86_64
Libraries:
libpcre: 8.00 2009-10-19 (compiled with 8.00)
openssl: OpenSSL 0.9.8l 5 Nov 2009 (compiled with OpenSSL 0.9.8l 5 Nov 2009)
libxml2: 2.7.6 (compiled with 2.7.6)
Compiled by: [email protected] (x86_64-pc-linux-gnu)
Compilation: x86_64-pc-linux-gnu-gcc -march=native -pipe -W -Wall -Wextra -g
-Werror -Werror-implicit-function-declaration -Wpointer-arith
-Wdeclaration-after-statement -Wp,-D_FORTIFY_SOURCE=2
Linking : ld -m elf_x86_64 -Wl,--as-needed
----------------------------------------------------------------------
>Comment By: Fabian (mr-meltdown)
Date: 2010-02-22 17:54
Message:
I see it was committed to start fresh upon connect, ok, thanks!
----------------------------------------------------------------------
Comment By: Fabian (mr-meltdown)
Date: 2010-02-22 17:49
Message:
So, I can assume you fixed it like that? Or did you mean that this bug is
invalid?
----------------------------------------------------------------------
Comment By: Martin Kersten (mlkersten)
Date: 2010-02-22 17:47
Message:
The quit() command can be embedded in MAL functions, easily leading into a
shooting in the foot when you clean out the user module. However, we can
clean it upon first re-use of the client context.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2956664&group_id=56967
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs