Tracked down the segfault I was having, it seems to come from calling
result.size() after execing a mysql query that can't return results
(an INSERT). It would only be triggered if you turn on the appropriate
debug.
--
Tony Lill,                         [EMAIL PROTECTED]
President, A. J. Lill Consultants        fax/data (519) 650 3571
539 Grand Valley Dr., Cambridge, Ont. N3H 2S2     (519) 241 2461
--------------- http://www.ajlc.waterloo.on.ca/ ----------------
"Welcome to All Things UNIX, where if it's not UNIX, it's CRAP!"


Index: scheduler.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/programs/mythbackend/scheduler.cpp,v
retrieving revision 1.143
diff -u -r1.143 scheduler.cpp
--- scheduler.cpp       10 Apr 2005 05:33:06 -0000      1.143
+++ scheduler.cpp       23 Apr 2005 19:58:35 -0000
@@ -1597,8 +1597,7 @@
             continue;
         }
 
-        VERBOSE(VB_SCHEDULE, QString(" |-- %1 results in %2 sec.")
-                .arg(result.size())
+        VERBOSE(VB_SCHEDULE, QString(" |-- %2 sec.")
                 .arg(((dbend.tv_sec  - dbstart.tv_sec) * 1000000 +
                       (dbend.tv_usec - dbstart.tv_usec)) / 1000000.0));
 
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to