Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.4
-
Fix Version/s: 1.9.5
-
Component/s: Database SQL/XMLDB
-
Labels:None
-
Environment:Windows, XAMPP 1.7.0, Moodle 1.9.4
-
Database:MySQL
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
I cannot get my activity installed since it uses a column named `range`.
There should either be a possibility to set quote_all = true or the keyword `range` should be included in the list at
/moodle/lib/xmldb/classes/generators/mysql/mysql.class.php
line 340
Aha,
well spotted. Just found some new MySQL reserved words here:
http://dev.mysql.com/doc/mysqld-version-reference/en/mysqld-version-reference-reservedwords-5-1.html
I'm going to add all them right now to mysql drivers. Thanks!