diff options
| author | Mark Newnham <mark@newnhams.com> | 2024-05-29 20:04:31 -0600 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2024-08-28 09:24:08 +0200 |
| commit | 152bbec9961638d651f20399a08fe1b0c63d2aa6 (patch) | |
| tree | c55802115e51afa3fbc3f6d63dfbda5c8cc999ae | |
| parent | 648b230dde34758264a6c991c26727fa578b7e23 (diff) | |
| download | adodb-152bbec9961638d651f20399a08fe1b0c63d2aa6.tar.gz adodb-152bbec9961638d651f20399a08fe1b0c63d2aa6.tar.bz2 adodb-152bbec9961638d651f20399a08fe1b0c63d2aa6.zip | |
move local schema outside of debug block
| -rw-r--r-- | drivers/adodb-db2.inc.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/adodb-db2.inc.php b/drivers/adodb-db2.inc.php index 9a17cb77..a5271333 100644 --- a/drivers/adodb-db2.inc.php +++ b/drivers/adodb-db2.inc.php @@ -134,8 +134,6 @@ class ADODB_db2 extends ADOConnection { if (strcmp($argDSN,'*LOCAL') == 0) { $connectMessage = '*LOCAL connection'; - $schema = $argDatabasename; - $argDatabasename = ''; } else if ($useCataloguedConnection) { @@ -150,6 +148,11 @@ class ADODB_db2 extends ADOConnection { } ADOConnection::outp($connectMessage); } + if (strcmp($argDSN,'*LOCAL') == 0) + { + $schema = $argDatabasename; + $argDatabasename = ''; + } /* * This needs to be set before the connect(). */ |
