Merge pull request #870 from nextcloud/oc-missingprefixforlastinsertid

Fix oracle support of external storage app
This commit is contained in:
Björn Schießle 2016-08-16 16:24:45 +02:00 committed by GitHub
commit 9db189174c
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@
<field>
<name>value</name>
<type>text</type>
<notnull>true</notnull>
<notnull>false</notnull>
<length>4096</length>
</field>

View File

@ -208,7 +208,7 @@ class DBConfigService {
'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
]);
$query->execute();
return (int)$this->connection->lastInsertId('external_mounts');
return (int)$this->connection->lastInsertId('*PREFIX*external_mounts');
}
/**