view m-toolbox/classes/tests/database/@ltpda_database/executeQuery.m @ 52:daf4eab1a51e database-connection-manager tip

Fix. Default password should be [] not an empty string
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:29:47 +0100
parents 79dc7091dbbc
children
line wrap: on
line source

%
% DESCRIPTION: Returns the result for a given query.
%
% DEPRECATED! Use utils.mysql.execute instead.
%
% VERSION:     $Id: executeQuery.m,v 1.1 2011/05/25 16:20:25 ingo Exp $
%
function val = executeQuery(utp, query)
  warning('!!! Deprecated! Use utils.mysql.execute instead');
  val = utils.mysql.execute(utp.conn, query);
end