Hi Tristan,
The size of the database should not cause a crash. However there was a bug recently fixed (in the CVS repository) that provoked a crash if the table contain any character string columns.
Please try with ROOT from the head of the repository. If it still does not work, please send me a stack trace of where it crashed.
Cheers,
Philippe.
-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch]
On Behalf Of Tristan Beau
Sent: Wednesday, February 01, 2006 9:31 AM
To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] is TTreeSQL dumping the whole table ?
Hello,
I just discovered the new classe TTreeSQL. I tried to use it with a code such as :
TSQLServer *s = TSQLServer::Connect("mysql://dbserv/db","user","pwd"); TTreeSQL *t = new TTreeSQL(s,"db","atable");
But then it crashes my session probably because the "atable" table is too big. Is TTreeSQL dumping the whole table with the constructor TTreeSQL ? This is a problem while accessing to very big tables ( > 1 Go ). Which way should I use in such a case ?
Thank's in advance,
TristanAstroParticules et Cosmologie
---
Tristan Beau http://www.apc.univ-paris7.fr/~beau/
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET