[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10684] property: disable fetc_single (wrong result)
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [10684] property: disable fetc_single (wrong result) |
Date: |
Fri, 18 Jan 2013 08:06:52 +0000 |
Revision: 10684
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10684
Author: sigurdne
Date: 2013-01-18 08:06:52 +0000 (Fri, 18 Jan 2013)
Log Message:
-----------
property: disable fetc_single (wrong result)
Modified Paths:
--------------
trunk/property/inc/class.solocation.inc.php
trunk/property/inc/class.soproject.inc.php
trunk/property/inc/class.sotts.inc.php
trunk/property/inc/class.soworkorder.inc.php
Modified: trunk/property/inc/class.solocation.inc.php
===================================================================
--- trunk/property/inc/class.solocation.inc.php 2013-01-17 20:10:53 UTC (rev
10683)
+++ trunk/property/inc/class.solocation.inc.php 2013-01-18 08:06:52 UTC (rev
10684)
@@ -942,6 +942,9 @@
}
else
{
+
+ $_fetch_single = false;
+/*
if($this->total_records > 200)
{
$_fetch_single = true;
@@ -950,6 +953,7 @@
{
$_fetch_single = false;
}
+*/
$this->db->query($sql .
$ordermethod,__LINE__,__FILE__, false, $_fetch_single );
unset($_fetch_single);
}
Modified: trunk/property/inc/class.soproject.inc.php
===================================================================
--- trunk/property/inc/class.soproject.inc.php 2013-01-17 20:10:53 UTC (rev
10683)
+++ trunk/property/inc/class.soproject.inc.php 2013-01-18 08:06:52 UTC (rev
10684)
@@ -642,6 +642,8 @@
}
else
{
+ $_fetch_single = false;
+/*
if($this->total_records > 200)
{
$_fetch_single = true;
@@ -650,6 +652,7 @@
{
$_fetch_single = false;
}
+*/
$this->db->query($sql_end,__LINE__,__FILE__, false, $_fetch_single );
unset($_fetch_single);
}
Modified: trunk/property/inc/class.sotts.inc.php
===================================================================
--- trunk/property/inc/class.sotts.inc.php 2013-01-17 20:10:53 UTC (rev
10683)
+++ trunk/property/inc/class.sotts.inc.php 2013-01-18 08:06:52 UTC (rev
10684)
@@ -504,6 +504,8 @@
}
else
{
+ $_fetch_single = false;
+/*
if($this->total_records > 200)
{
$_fetch_single = true;
@@ -512,6 +514,7 @@
{
$_fetch_single = false;
}
+*/
$this->db->query($sql .
$ordermethod,__LINE__,__FILE__, false, $_fetch_single );
unset($_fetch_single);
}
Modified: trunk/property/inc/class.soworkorder.inc.php
===================================================================
--- trunk/property/inc/class.soworkorder.inc.php 2013-01-17 20:10:53 UTC
(rev 10683)
+++ trunk/property/inc/class.soworkorder.inc.php 2013-01-18 08:06:52 UTC
(rev 10684)
@@ -714,6 +714,9 @@
}
else
{
+ $_fetch_single = false;
+//FIXME: something wrong here...
+/*
if($this->total_records > 200)
{
$_fetch_single = true;
@@ -722,6 +725,8 @@
{
$_fetch_single = false;
}
+
+*/
$this->db->query($sql_end,__LINE__,__FILE__,
false, $_fetch_single );
unset($_fetch_single);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10684] property: disable fetc_single (wrong result),
Sigurd Nes <=