[Astpp-commit] SF.net SVN: astpp:[2281] trunk/scripts/astpp-common.pl
Brought to you by:
darrenkw
|
From: <dar...@us...> - 2009-10-06 03:54:43
|
Revision: 2281
http://astpp.svn.sourceforge.net/astpp/?rev=2281&view=rev
Author: darrenkw
Date: 2009-10-06 03:54:35 +0000 (Tue, 06 Oct 2009)
Log Message:
-----------
Clean up the account balance calculations.
Modified Paths:
--------------
trunk/scripts/astpp-common.pl
Modified: trunk/scripts/astpp-common.pl
===================================================================
--- trunk/scripts/astpp-common.pl 2009-10-06 03:43:17 UTC (rev 2280)
+++ trunk/scripts/astpp-common.pl 2009-10-06 03:54:35 UTC (rev 2281)
@@ -1777,7 +1777,7 @@
. $astpp_db->quote($destination)
. " RLIKE pattern AND pricelist = "
. $astpp_db->quote($pricelist)
- . " ORDER BY LENGTH(pattern) DESC";
+ . " ORDER BY LENGTH(pattern) DESC LIMIT 1";
print STDERR "$tmp\n" if $config->{debug} == 1;
$sql =
$astpp_db->prepare($tmp);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|