Trivial changes
This commit is contained in:
parent
2433b4377a
commit
1eed448800
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue