-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,


[If the first part should be in monetdb-users please inform me]

Currently I am still using the same setup, because I do not have the
time to reimport my data using after the nightly builds. After my first
big import in SQL resulting in 4*10^7 rows, I decided to move on. And
continue my work.

I have started mserver5 again, include sql; [no problems]

sql.start(); [this command took 10 minutes to be processed]


After this 10 minutes, the command works instantly when running the
server again. Is this some kind of integrity checking?


In my last e-mail I asked about the Perl issues, Niels pointed that the
Perl sources were out of sync. I took the liberty to try to come up with
a fix, please check as attached. I think no copyright can be claimed on
3 changes, so if this is the right solution :) Please apply :)



Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHGqTsYH1+F2Rqwn0RCnZqAJ9l4IMVeGOCMm7JJN0BijnCvEIrAQCdEDd0
8zEe0HfX1ygvsJdawvOC63Q=
=RqZ8
-----END PGP SIGNATURE-----
--- /opt/monetdb/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/DBD/monetdb.pm	2007-10-21 03:41:24.000000000 +0200
+++ monetdb.pm	2007-10-21 03:41:15.000000000 +0200
@@ -54,10 +54,11 @@
     my $lang  = $dsn{language} || 'sql';
     my $host  = $dsn{host} || 'localhost';
     my $port  = $dsn{port} || 50000;
+    my $dbname = $dsn{database} || 'demo';
     $user     ||= 'monetdb';
     $password ||= 'monetdb';
 
-    my $cxn = eval { MonetDB::CLI->connect($host, $port, $user, $password, $lang) };
+    my $cxn = eval { MonetDB::CLI->connect($host, $port, $user, $password, $lang, $dbname) };
     return $drh->set_err(-1, $@) if $@;
 
     my ($outer, $dbh) = DBI::_new_dbh($drh, { Name => $dsn });
--- /opt/monetdb/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/MonetDB/CLI/MapiLib.pm	2007-10-01 02:00:15.000000000 +0200
+++ MapiLib.pm	2007-10-21 03:43:48.000000000 +0200
@@ -9,9 +9,9 @@
 
 sub connect
 {
-  my ($class, $host, $port, $user, $pass, $lang) = @_;
+  my ($class, $host, $port, $user, $pass, $lang, $dbname) = @_;
 
-  my $h = MapiLib::mapi_connect( $host, $port, $user, $pass, $lang )
+  my $h = MapiLib::mapi_connect( $host, $port, $user, $pass, $lang, $dbname )
     or die 'Handle is undefined';
   die MapiLib::mapi_error_str( $h )
     if MapiLib::mapi_error( $h );
-------------------------------------------------------------------------
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-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to