Update of /cvsroot/monetdb/MonetDB5/tests/mapi/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30137/mapi/Tests

Added Files:
      Tag: MonetDB_5-2
        All perl_dbi.MAL.bat perl_dbi.MAL.sh perl_dbi.stable.err 
        perl_dbi.stable.out 
Log Message:
added perl mal test


--- NEW FILE: perl_dbi.stable.out ---
stdout of test 'perl_dbi` in directory 'tests/mapi` itself:


# 21:36:18 >  
# 21:36:18 >  Mtimeout -timeout 180  mserver5 
"--config=/ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf" --debug=10 
--set 
"monet_mod_path=/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/lib:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/bin"
 --set "gdk_dbfarm=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/dbfarm" 
--set "sql_logdir=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/sql_logs"  
--set mapi_open=true --set xrpc_open=true --set mapi_port=37941 --set 
xrpc_port=40032 --set monet_prompt= --trace "--dbname=mTests_tests_mapi" 
--dbinit="" ; echo ; echo Over..
# 21:36:18 >  

!WARNING: GDKlockHome: ignoring empty or invalid .gdk_lock.
!WARNING: BBPdir: initializing BBP.
# MonetDB server v5.2.0, based on kernel v1.20.0
# Serving database 'mTests_tests_mapi'
# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs dynamically linked
# Copyright (c) 1993-2007 CWI, all rights reserved
# Visit http://monetdb.cwi.nl/ for further information
# Listening for connection requests on mapi:monetdb://koala.ins.cwi.nl:37941/

Ready.
#function user.main():void;
#    clients.quit();
#end main;

Over..

# 20:58:10 >  
# 20:58:10 >  Mtimeout -timeout 60 ./perl_dbi.SQL.sh perl_dbi 
# 20:58:10 >  


# 20:58:10 >  
# 20:58:10 >  sqlsample.pl 39249 mTests_src_test_mapi
# 20:58:10 >  


Start a simple Monet MAL interaction

data sources: dbi:monetdb:
field[0]: 2, last index: 0
field[0]: 3, last index: 0
ERROR REPORTED: DBD::monetdb::st execute failed: !SyntaxException:parseError:( 
xyz 1);
!SyntaxException:parseError:     ^<identifier> expected
bun: 3, three
bun: 7, seven
rows: 2, fields: 2
field[0,0]: 3
field[0,1]: three
field[1,0]: 7
field[1,1]: seven
head[0]: 3
head[1]: 7
field[0]: 3
field[1]: three
field[0]: 3
field[1]: three

Finished

# 20:58:10 >  
# 20:58:10 >  Done.
# 20:58:10 >  


--- NEW FILE: All ---
HAVE_PERL?perl_dbi

--- NEW FILE: perl_dbi.MAL.sh ---
#!/bin/sh

PATH="`monetdb-clients-config --pkglibdir`/Tests:$PATH"
export PATH

PERLLIB="`monetdb-clients-config --perllibdir`"
export PERLLIB

Mlog -x malsample.pl $MAPIPORT $TSTDB

--- NEW FILE: perl_dbi.stable.err ---
stderr of test 'perl_dbi` in directory 'tests/mapi` itself:


# 20:58:10 >  
# 20:58:10 >  Mtimeout -timeout 180  mserver5 
"--config=/ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf" --debug=10 
--set 
"monet_mod_path=/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/lib:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/bin"
 --set "gdk_dbfarm=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/dbfarm" 
--set "sql_logdir=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/sql_logs"  
--set mapi_open=true --set xrpc_open=true --set mapi_port=39249 --set 
xrpc_port=47893 --set monet_prompt= --trace "--dbname=mTests_src_test_mapi" 
--set mal_listing=0 --dbinit=" include sql;" ; echo ; echo Over..
# 20:58:10 >  

#warning: please don't forget to set your vault key!
#(see /ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf)

# 20:58:10 >  
# 20:58:10 >  Mtimeout -timeout 60 ./perl_dbi.SQL.sh perl_dbi 
# 20:58:10 >  


# 20:58:10 >  
# 20:58:10 >  sqlsample.pl 39249 mTests_src_test_mapi
# 20:58:10 >  


# 20:58:10 >  
# 20:58:10 >  Done.
# 20:58:10 >  


--- NEW FILE: perl_dbi.MAL.bat ---
@echo off

set PATH=%CLIENTS_PREFIX%\lib\MonetDB\Tests;%PATH%

set PERLLIB=%CLIENTS_PREFIX%\%PERL_LIBDIR%

call Mlog.bat -x malsample.pl %MAPIPORT% %TSTDB%


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to