diff options
author | Florin Peter <github@florin-peter.de> | 2013-05-25 20:37:28 +0200 |
---|---|---|
committer | Florin Peter <github@florin-peter.de> | 2013-05-25 20:37:28 +0200 |
commit | adcafbde34b8f4c75dbf724e929766a1f7d964d4 (patch) | |
tree | 993d117c7f7e9773eca8e445c63475c9ef207081 /lib | |
parent | 4eddef1556ac7ee7fc0c7e82279672c52d9b6db9 (diff) | |
parent | dbb6a10364fb87989cb13f704887782a1531e16b (diff) | |
download | nextcloud-server-adcafbde34b8f4c75dbf724e929766a1f7d964d4.tar.gz nextcloud-server-adcafbde34b8f4c75dbf724e929766a1f7d964d4.zip |
Merge branch 'master' into fix_for_2377
Diffstat (limited to 'lib')
-rw-r--r-- | lib/files/cache/cache.php | 4 | ||||
-rw-r--r-- | lib/l10n/es.php | 1 | ||||
-rw-r--r-- | lib/l10n/et_EE.php | 1 | ||||
-rw-r--r-- | lib/l10n/gl.php | 1 | ||||
-rw-r--r-- | lib/l10n/pl.php | 1 | ||||
-rwxr-xr-x | lib/util.php | 2 |
6 files changed, 7 insertions, 3 deletions
diff --git a/lib/files/cache/cache.php b/lib/files/cache/cache.php index 1e93cc59c6b..cae2e63e4dc 100644 --- a/lib/files/cache/cache.php +++ b/lib/files/cache/cache.php @@ -364,8 +364,8 @@ class Cache { if ($sourceData['mimetype'] === 'httpd/unix-directory') { //find all child entries - $query = \OC_DB::prepare('SELECT `path`, `fileid` FROM `*PREFIX*filecache` WHERE `path` LIKE ?'); - $result = $query->execute(array($source . '/%')); + $query = \OC_DB::prepare('SELECT `path`, `fileid` FROM `*PREFIX*filecache` WHERE `storage` = ? AND `path` LIKE ?'); + $result = $query->execute(array($this->getNumericStorageId(), $source . '/%')); $childEntries = $result->fetchAll(); $sourceLength = strlen($source); $query = \OC_DB::prepare('UPDATE `*PREFIX*filecache` SET `path` = ?, `path_hash` = ? WHERE `fileid` = ?'); diff --git a/lib/l10n/es.php b/lib/l10n/es.php index fa95089a617..3b32036d3af 100644 --- a/lib/l10n/es.php +++ b/lib/l10n/es.php @@ -24,6 +24,7 @@ "%s set the database host." => "%s ingresar el host de la base de datos.", "PostgreSQL username and/or password not valid" => "Usuario y/o contraseña de PostgreSQL no válidos", "You need to enter either an existing account or the administrator." => "Tiene que ingresar una cuenta existente o la del administrador.", +"Oracle connection could not be established" => "No se pudo establecer la conexión a Oracle", "MySQL username and/or password not valid" => "Usuario y/o contraseña de MySQL no válidos", "DB Error: \"%s\"" => "Error BD: \"%s\"", "Offending command was: \"%s\"" => "Comando infractor: \"%s\"", diff --git a/lib/l10n/et_EE.php b/lib/l10n/et_EE.php index 2e25f1aa711..24fc98bde64 100644 --- a/lib/l10n/et_EE.php +++ b/lib/l10n/et_EE.php @@ -24,6 +24,7 @@ "%s set the database host." => "%s määra andmebaasi server.", "PostgreSQL username and/or password not valid" => "PostgreSQL kasutajatunnus ja/või parool pole õiged", "You need to enter either an existing account or the administrator." => "Sisesta kas juba olemasolev konto või administrator.", +"Oracle connection could not be established" => "Ei suuda luua ühendust Oracle baasiga", "MySQL username and/or password not valid" => "MySQL kasutajatunnus ja/või parool pole õiged", "DB Error: \"%s\"" => "Andmebaasi viga: \"%s\"", "Offending command was: \"%s\"" => "Tõrkuv käsk oli: \"%s\"", diff --git a/lib/l10n/gl.php b/lib/l10n/gl.php index 96b083821dc..1b4db4b30af 100644 --- a/lib/l10n/gl.php +++ b/lib/l10n/gl.php @@ -24,6 +24,7 @@ "%s set the database host." => "%s estabeleza o servidor da base de datos", "PostgreSQL username and/or password not valid" => "Nome de usuario e/ou contrasinal de PostgreSQL incorrecto", "You need to enter either an existing account or the administrator." => "Deberá introducir unha conta existente ou o administrador.", +"Oracle connection could not be established" => "Non foi posíbel estabelecer a conexión con Oracle", "MySQL username and/or password not valid" => "Nome de usuario e/ou contrasinal de MySQL incorrecto", "DB Error: \"%s\"" => "Produciuse un erro na base de datos: «%s»", "Offending command was: \"%s\"" => "A orde ofensiva foi: «%s»", diff --git a/lib/l10n/pl.php b/lib/l10n/pl.php index de15964b13b..53a9290785c 100644 --- a/lib/l10n/pl.php +++ b/lib/l10n/pl.php @@ -24,6 +24,7 @@ "%s set the database host." => "%s ustaw hosta bazy danych.", "PostgreSQL username and/or password not valid" => "PostgreSQL: Nazwa użytkownika i/lub hasło jest niepoprawne", "You need to enter either an existing account or the administrator." => "Należy wprowadzić istniejące konto użytkownika lub administratora.", +"Oracle connection could not be established" => "Nie można ustanowić połączenia z bazą Oracle", "MySQL username and/or password not valid" => "MySQL: Nazwa użytkownika i/lub hasło jest niepoprawne", "DB Error: \"%s\"" => "Błąd DB: \"%s\"", "Offending command was: \"%s\"" => "Niepoprawna komenda: \"%s\"", diff --git a/lib/util.php b/lib/util.php index 1c5a044be8e..d1551523dd6 100755 --- a/lib/util.php +++ b/lib/util.php @@ -80,7 +80,7 @@ class OC_Util { public static function getVersion() { // hint: We only can count up. Reset minor/patchlevel when // updating major/minor version number. - return array(5, 80, 03); + return array(5, 80, 04); } /** |