Trivial changes

This commit is contained in:
Juan Ferrer Toribio 2017-09-22 23:24:21 +02:00
parent 2433b4377a
commit 1eed448800
1 changed files with 3 additions and 4 deletions

View File

@ -229,18 +229,17 @@ var App =
this.regWrite (Conf.dsPath, 'UID', user, 'REG_SZ');
this.regWrite (Conf.dsPath, 'PWD', password, 'REG_SZ');
// Gets the last version number usign the MySQL ODBC connection
// Gets the last version number using the MySQL ODBC connection
var mysqlConn = new ActiveXObject ('ADODB.Connection');
var dbErrors = mysqlConn.errors;
try {
dbErrors.clear ();
mysqlConn.open (Conf.dsName);
}
catch (e)
{
var dbErrors = mysqlConn.errors;
if (dbErrors.count > 0)
{
var errorMsg;