diff m-toolbox/classes/@ltpda_uo/retrieve.m @ 43:bc767aaa99a8

CVS Update
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 11:09:25 +0100
parents f0afece42f48
children a59cdb8aaf31
line wrap: on
line diff
--- a/m-toolbox/classes/@ltpda_uo/retrieve.m	Wed Nov 23 19:22:13 2011 +0100
+++ b/m-toolbox/classes/@ltpda_uo/retrieve.m	Tue Dec 06 11:09:25 2011 +0100
@@ -28,7 +28,7 @@
 % If only a single object is requested, it is returned as an object,
 % not packed in a cell array.
 %
-% VERSION:     $Id: retrieve.m,v 1.28 2011/07/01 14:38:57 ingo Exp $
+% VERSION:     $Id: retrieve.m,v 1.29 2011/11/30 06:49:01 hewitson Exp $
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
@@ -141,6 +141,7 @@
         % Retrieve the bytes
         q =  sprintf('select mat from bobjs where obj_id="%d"', ids(j));
         results = conn.query(q);
+%         dd = '';
         while results.next
           dd = results.getObject(1);
         end
@@ -205,7 +206,7 @@
     
   catch ME
     fprintf(2, [ME.message, '\n\n']);
-    utils.helper.msg(msg.PROC1, '### Retrieve error.');
+    conn.setLocked(false);
     rethrow(ME)
   end
   
@@ -246,7 +247,7 @@
     pl   = getDefaultPlist;
   end
   % Build info object
-  ii = minfo(mfilename, 'ltpda_uo', 'ltpda', utils.const.categories.internal, '$Id: retrieve.m,v 1.28 2011/07/01 14:38:57 ingo Exp $', sets, pl);
+  ii = minfo(mfilename, 'ltpda_uo', 'ltpda', utils.const.categories.internal, '$Id: retrieve.m,v 1.29 2011/11/30 06:49:01 hewitson Exp $', sets, pl);
   ii.setModifier(false);
 end