From bba11c2e13ba53c7d59c954c77490ac489bfd320 Mon Sep 17 00:00:00 2001
From: Dimitar Misev <misev@rasdaman.com>
Date: Tue, 13 Mar 2012 17:12:47 +0100
Subject: [PATCH] Continue deletion instead of throwing an exception in case
of some data corruption.
---
relblobif/blobtile.pgc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/relblobif/blobtile.pgc b/relblobif/blobtile.pgc
index 841c983..534b4fe 100644
a
|
b
|
BLOBTile::kill(const OId& target, unsigned int range)
|
458 | 458 | } |
459 | 459 | else if (PQntuples(pgResult) != 1) |
460 | 460 | { |
461 | | LEAVE( "BLOBTile::kill() libpq 'select' did not yield 1 result but " << PQntuples(pgResult) ); |
| 461 | LEAVE( "BLOBTile::kill() data corruption, no blob was found for blob id " << indbmyOId5 << "!" ); |
462 | 462 | PQclear( pgResult ); |
463 | | generateException(); |
| 463 | return; |
464 | 464 | } |
465 | 465 | blobOid = atoi( PQgetvalue( pgResult, 0, 0 ) ); // extract value from result |
466 | 466 | PQclear( pgResult ); |