]> source.dussan.org Git - nextcloud-server.git/commitdiff
use user name as db name for oracle connection made with service name
authorJörn Friedrich Dreyer <jfd@butonic.de>
Mon, 17 Sep 2012 14:32:24 +0000 (16:32 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Mon, 17 Sep 2012 14:32:24 +0000 (16:32 +0200)
lib/db.php

index 4d8e5a1a86807bde830591f37ae457b2b0aaa86b..9c10512350fcc7bd90cc6dfc1756d09be2154bb3 100644 (file)
@@ -232,6 +232,7 @@ class OC_DB {
                                                $dsn['database'] = $name;
                                        } else { // use dbname for hostspec
                                                $dsn['hostspec'] = $name;
+                                               $dsn['database'] = $user;
                                        }
                                        break;
                        }