Mercurial > hg > ltpda
annotate testing/utp_1.1/utp_fcns/utpGetConnection.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 | 7d2e2e065cf1 |
children |
rev | line source |
---|---|
44 | 1 % UTPGETCONNECTION returns the connection for the repository tests. |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: UTPGETCONNECTION returns the connection for the repository | |
5 % tests. | |
6 % | |
7 % CALL: conn = utpGetConnection() | |
8 % | |
9 % VERSION: $Id: utpGetConnection.m,v 1.1 2009/09/19 15:27:52 ingo Exp $ | |
10 % | |
11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
12 | |
13 function conn = utpGetConnection() | |
14 | |
50
7d2e2e065cf1
Update unit tests
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
44
diff
changeset
|
15 conn = utils.mysql.connect(utpGetHostname, utpGetDatabase, utpGetUsername, utpGetPassword); |
44 | 16 |
17 end |