noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 04/35: Fix bug with pg_largeobject


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 04/35: Fix bug with pg_largeobject
Date: Tue, 24 May 2016 21:25:38 +0000 (UTC)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 177f2061fabc65f1e7501a57948af7409e6823cb
Author: Dany De Bontridder <address@hidden>
Date:   Wed Mar 30 19:02:56 2016 +0200

    Fix bug with pg_largeobject
---
 include/lib/class_database.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/lib/class_database.php b/include/lib/class_database.php
index 3d6184a..6e775ba 100644
--- a/include/lib/class_database.php
+++ b/include/lib/class_database.php
@@ -682,7 +682,7 @@ class Database
      */
     function exist_blob($p_oid)
     {
-        $r=$this->get_value('select count(loid) from pg_largeobject where 
loid=$1'
+        $r=$this->get_value('select count(*) from pg_largeobject_metadata 
where oid=$1'
                 , array($p_oid));
         if ($r>0)
             return true;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]