← Back to team overview

mahara-contributors team mailing list archive

[Bug 837012] Re: MySQL reserved words not handled properly

 

I don't have the confidence to suggest that my upgrade problems are
related to this....  I was looking in this file...

lib/xmldb/classes/generators/XMLDBGenerator.class.php    It's obviously
sub-classed, I just hadn't noticed.

I think you can close this as 'not a bug'. My bad as they say ;-)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/837012

Title:
  MySQL reserved words not handled properly

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Mahara versions 1.3.7 and latest 1.4 (at time of writing)

  The table notification_internal_activity adds the field 'from' at
  upgrade 2010042600. From is a reserved word in MySQL. I know that
  Mahara checks for reserved words and escapes them but.... (a) 'from'
  is not in the list of reserved words and (b) even if it was the
  correct quote character is the back-tick not the double-quote as used
  in Mahara. (see
  http://dev.mysql.com/doc/refman/5.5/en/identifiers.html)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/837012/+subscriptions


References