Blame SOURCES/db-5.3.28-wbool_compare.patch

c7d609
Patch for coverity issues:
c7d609
    https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def41
c7d609
    https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def42
c7d609
    https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def44
c7d609
    https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def45
c7d609
c7d609
diff -up db-5.3.28/lang/sql/generated/sqlite3.c.libdb-5.3.28-31_coverity_41_42 db-5.3.28/lang/sql/generated/sqlite3.c
c7d609
--- db-5.3.28/lang/sql/generated/sqlite3.c.libdb-5.3.28-31_coverity_41_42	2018-11-26 15:01:56.427828116 +0100
c7d609
+++ db-5.3.28/lang/sql/generated/sqlite3.c	2018-11-26 14:59:10.085403911 +0100
c7d609
@@ -114393,7 +114394,7 @@ static int deserializeGeometry(sqlite3_v
c7d609
   int nBlob;
c7d609
 
c7d609
   /* Check that value is actually a blob. */
c7d609
-  if( !sqlite3_value_type(pValue)==SQLITE_BLOB ) return SQLITE_ERROR;
c7d609
+  if( !(sqlite3_value_type(pValue)==SQLITE_BLOB) ) return SQLITE_ERROR;
c7d609
 
c7d609
   /* Check that the blob is roughly the right size. */
c7d609
   nBlob = sqlite3_value_bytes(pValue);
c7d609
diff -up db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c.libdb-5.3.28-31_coverity_44_45 db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c
c7d609
--- db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c.libdb-5.3.28-31_coverity_44_45	2018-11-26 15:07:02.732326934 +0100
c7d609
+++ db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c	2018-11-26 15:07:43.104917470 +0100
c7d609
@@ -1193,7 +1193,7 @@ static int deserializeGeometry(sqlite3_v
c7d609
   int nBlob;
c7d609
 
c7d609
   /* Check that value is actually a blob. */
c7d609
-  if( !sqlite3_value_type(pValue)==SQLITE_BLOB ) return SQLITE_ERROR;
c7d609
+  if( !(sqlite3_value_type(pValue)==SQLITE_BLOB) ) return SQLITE_ERROR;
c7d609
 
c7d609
   /* Check that the blob is roughly the right size. */
c7d609
   nBlob = sqlite3_value_bytes(pValue);