summaryrefslogtreecommitdiffstats
path: root/lib/private/db/oraclemigrator.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-06-03 11:24:31 +0200
committerRobin Appelman <icewind@owncloud.com>2014-06-03 11:24:31 +0200
commit82b982a4ebe42e98b800d58ec98c307d531d71f9 (patch)
treedac67b72aa746de52ecd4c7e5dd060da9f137c0d /lib/private/db/oraclemigrator.php
parent3be2643168a47813718d24232ee25e9b8f264b7a (diff)
downloadnextcloud-server-82b982a4ebe42e98b800d58ec98c307d531d71f9.tar.gz
nextcloud-server-82b982a4ebe42e98b800d58ec98c307d531d71f9.zip
Better unique names for temporary tables
Diffstat (limited to 'lib/private/db/oraclemigrator.php')
-rw-r--r--lib/private/db/oraclemigrator.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/db/oraclemigrator.php b/lib/private/db/oraclemigrator.php
index de4348bd56d..1a8df2def9c 100644
--- a/lib/private/db/oraclemigrator.php
+++ b/lib/private/db/oraclemigrator.php
@@ -29,4 +29,12 @@ class OracleMigrator extends NoCheckMigrator {
return $schemaDiff;
}
+
+ /**
+ * @param string $name
+ * @return string
+ */
+ protected function generateTemporaryTableName($name) {
+ return 'oc_' . uniqid();
+ }
}