Index: /trunk/FACT++/src/root2sql.cc
===================================================================
--- /trunk/FACT++/src/root2sql.cc	(revision 19083)
+++ /trunk/FACT++/src/root2sql.cc	(revision 19084)
@@ -162,4 +162,8 @@
         "are marked as (-ignored-).\n"
         "\n"
+        "If a query failed, the query is printed to stderr together with the error message. "
+        "For the main INSERT query, this is only true if the verbosity level is at least 2 "
+        "or the query has less than 80*25 bytes.\n"
+        "\n"
         "In case of succes, 0 is returned, a value>0 otherwise.\n"
         "\n"
@@ -582,5 +586,6 @@
     catch (const exception &e)
     {
-        cerr << query << "\n\n";
+        if (verbose>1 || query.length()<80*25)
+            cerr << query << "\n\n";
         cerr << "SQL query failed (" << query.length() << " bytes):\n" << e.what() << endl;
         return 6;
