Update of /cvsroot/monetdb/MonetDB4/tests/mapi/examples/C/Tests
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26945/tests/mapi/examples/C/Tests

Modified Files:
        All 
Added Files:
        perl_dbi.MIL.bat perl_dbi.MIL.sh perl_dbi.stable.err 
        perl_dbi.stable.out 
Log Message:
propagated changes of Wednesday Oct 17 2007 - Monday Oct 22 2007
from the MonetDB_4-20 branch to the development trunk


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


# 21:31:22 >  
# 21:31:22 >  Mtimeout -timeout 180  Mserver 
"--config=/ufs/niels/scratch/rc/Linux-x86_64/etc/MonetDB.conf" --debug=10 --set 
"monet_mod_path=/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB4:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB4/lib:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB4/bin"
 --set "gdk_dbfarm=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB4/dbfarm" 
--set "sql_logdir=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB4/sql_logs" 
--set 
"xquery_logdir=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB4/xquery_logs" 
--set mapi_open=true --set xrpc_open=true --set mapi_port=38455 --set 
xrpc_port=46761 --set monet_prompt= --trace 
"--dbname=mTests_tests_mapi_examples_C" --dbinit=" module(mapi); mil_start();" 
; echo ; echo Over..
# 21:31:22 >  

# MonetDB Server v4.20.0
# based on GDK   v1.20.0
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs; dynamically 
linked.
# Visit http://monetdb.cwi.nl/ for further information.

printf("\nReady.\n");

Ready.
quit();

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 MIL interaction

data sources: dbi:monetdb:
field[0]: 2, last index: 0
field[0]: 3, last index: 0
ERROR REPORTED: DBD::monetdb::st execute failed: !ERROR: "( xyz 1);"
!                 ^
! new MIL syntax (>=4.4) requires parentheses for all operators.
!.
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 >  


Index: All
===================================================================
RCS file: /cvsroot/monetdb/MonetDB4/tests/mapi/examples/C/Tests/All,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- All 11 Jan 2007 16:50:09 -0000      1.1
+++ All 22 Oct 2007 09:49:36 -0000      1.2
@@ -6,3 +6,4 @@
 smack00
 smack01
 smack01-slow
+HAVE_PERL_SWIG?perl_dbi

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

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

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

Mlog -x milsample.pl $MAPIPORT $TSTDB

--- NEW FILE: perl_dbi.stable.err ---
stderr of test 'perl_dbi` in directory 'tests/mapi/examples/C` 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.MIL.bat ---
@echo off

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

set PERLLIB=%CLIENTS_PREFIX%\%PERL_LIBDIR%

call Mlog.bat -x milsample.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