projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated cleantmp.conf
[clearscm.git]
/
lib
/
Machines
/
MySQL.pm
diff --git
a/lib/Machines/MySQL.pm
b/lib/Machines/MySQL.pm
old mode 100644
(file)
new mode 100755
(executable)
index
398fd8f
..
00f2b7c
--- a/
lib/Machines/MySQL.pm
+++ b/
lib/Machines/MySQL.pm
@@
-57,11
+57,12
@@
our $VERSION = '$Revision: 1.0 $';
($VERSION) = ($VERSION =~ /\$Revision: (.*) /);
\r
\r
my %MACHINEOPTS = (
\r
($VERSION) = ($VERSION =~ /\$Revision: (.*) /);
\r
\r
my %MACHINEOPTS = (
\r
- SERVER => 'localhost',
\r
- USERNAME => '
machines
',
\r
- PASSWORD => '
w0rk$harder
',
\r
+ SERVER =>
$ENV{REXEC_DBHOST} ||
'localhost',
\r
+ USERNAME => '
rexec
',
\r
+ PASSWORD => '
rexec
',
\r
);
\r
\r
);
\r
\r
+# Internal methods
\r
sub _connect (;$) {
\r
my ($self, $dbserver) = @_;
\r
\r
sub _connect (;$) {
\r
my ($self, $dbserver) = @_;
\r
\r
@@
-105,7
+106,6
@@
sub _checkRequiredFields ($$) {
return;
\r
} # _checkRequiredFields
\r
\r
return;
\r
} # _checkRequiredFields
\r
\r
-# Internal methods
\r
sub _dberror ($$) {
\r
my ($self, $msg, $statement) = @_;
\r
\r
sub _dberror ($$) {
\r
my ($self, $msg, $statement) = @_;
\r
\r
@@
-239,4
+239,4
@@
sub AddSystem (%) {
return $self->_addRecord ('system', %system);
\r
} # AddSystem
\r
\r
return $self->_addRecord ('system', %system);
\r
} # AddSystem
\r
\r
-1;
\ No newline at end of file
+1;
\r