[freeside-commits] freeside/FS/FS/Cron bill.pm,1.2.2.12,1.2.2.13

Ivan,,, ivan at wavetail.420.am
Wed Apr 22 21:57:08 PDT 2009


Update of /home/cvs/cvsroot/freeside/FS/FS/Cron
In directory wavetail.420.am:/tmp/cvs-serv12741

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	bill.pm 
Log Message:
we don't actually need the results ordered, and i'm sure it doesn't help the planner get us results sooner.  last chance to try and get cursor approach working?  RT#4412

Index: bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Cron/bill.pm,v
retrieving revision 1.2.2.12
retrieving revision 1.2.2.13
diff -u -d -r1.2.2.12 -r1.2.2.13
--- bill.pm	23 Apr 2009 04:15:00 -0000	1.2.2.12
+++ bill.pm	23 Apr 2009 04:57:06 -0000	1.2.2.13
@@ -103,9 +103,7 @@
 
   $cursor_dbh->do(
     "DECLARE cron_bill_cursor CURSOR FOR ".
-    "  SELECT custnum FROM cust_main ".
-    "    WHERE ". join(' AND ', @search).
-    "    ORDER BY custnum " #LIMIT 1000 "
+    "  SELECT custnum FROM cust_main WHERE ". join(' AND ', @search)
   ) or die $cursor_dbh->errstr;
   
   while ( 1 ) {



More information about the freeside-commits mailing list