Merge branch 'MDL-36764' of git://github.com/danpoltawski/moodle

This commit is contained in:
Sam Hemelryk 2012-12-10 11:54:01 +13:00
commit 8b5944b9b9

View File

@ -172,7 +172,7 @@ class oracle_sql_generator extends sql_generator {
public function getTypeSQL($xmldb_type, $xmldb_length=null, $xmldb_decimals=null) {
switch ($xmldb_type) {
case XMLDB_TYPE_INTEGER: // From http://www.postgresql.org/docs/7.4/interactive/datatype.html
case XMLDB_TYPE_INTEGER: // See http://www.acs.ilstu.edu/docs/oracle/server.101/b10759/sql_elements001.htm#sthref86.
if (empty($xmldb_length)) {
$xmldb_length = 10;
}