Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79c2b50
)
MDL-33330 /lib/db/upgrade.php: fix stray semicolon
author
Dan Poltawski
<dan@moodle.com>
Wed, 6 Jun 2012 08:25:20 +0000
(16:25 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Wed, 6 Jun 2012 08:25:20 +0000
(16:25 +0800)
Breaking Oracle upgrade
lib/db/upgrade.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/db/upgrade.php
b/lib/db/upgrade.php
index
f303a26
..
f0c8ba1
100644
(file)
--- a/
lib/db/upgrade.php
+++ b/
lib/db/upgrade.php
@@
-799,7
+799,7
@@
function xmldb_main_upgrade($oldversion) {
$sql = "SELECT repositoryid, referencehash, MIN(id) AS minid
FROM {files_reference}
GROUP BY repositoryid, referencehash
- HAVING COUNT(*) > 1
;
";
+ HAVING COUNT(*) > 1";
$duprs = $DB->get_recordset_sql($sql);
foreach ($duprs as $duprec) {
// get the list of all ids in {files_reference} that need to be remapped