[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;
- [Noalyss-commit] [noalyss] 11/35: Anc_Operation :fix undefined offset in Anc_Operation::save_form_plan, (continued)
- [Noalyss-commit] [noalyss] 11/35: Anc_Operation :fix undefined offset in Anc_Operation::save_form_plan, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 32/35: Fix problem with orphan_lob_clean instead of clean_orphan_lob and fix problem when checking analytic when amount == 0, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 07/35: Improve : Admin/user for admin , no database details since he can connect all of them, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 31/35: Export CSV print ledger , add the qcode for ODS and FIN, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 30/35: Update IDate with HTML5, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 06/35: Fix : check if a LOB exists before unlinking Doc, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 16/35: Limit email by folder, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 34/35: Adapt CSS for mobile, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 28/35: Improve Doc : doxygen, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 29/35: Merge branch 'master' of ns3:/srv/git/noalyss, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 04/35: Fix bug with pg_largeobject,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 03/35: Fix small bug : PHP Notice: Undefined property: Acc_Tva::$tva_both_side, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 33/35: Translation, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 21/35: Translate, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 09/35: Translation , after export from ANC GREAT LEDGER does not clean old files, Dany De Bontridder, 2016/05/24