Homec4science

legacy: fix sql compatibility with PostgreSQL

Authored by Leonardo Rossi <leonardo.r@cern.ch> on Jun 26 2015, 11:05.

Description

legacy: fix sql compatibility with PostgreSQL

  • Adds double quotes for tables and column, and single quotes for values. (closes #3212)
  • Fixes MySQL specific queries: "SHOW TABLES", "DATE_FORMAT", "PRIORITY", "RLIKE", "REGEXP", cascading on truncate tables. (addresses #3214)
  • Fixes call of get_user_preferences on system_email module.
  • Fixes blob column transforming string in bytearray.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>

Details

Committed
Leonardo Rossi <leonardo.r@cern.ch>Jun 26 2015, 14:09
Parents
R3600:87f083c0b782: legacy: BibCirculation removal
Branches
Unknown
Tags
Unknown

Event Timeline

Leonardo Rossi <leonardo.r@cern.ch> committed R3600:f777c4c9b99f: legacy: fix sql compatibility with PostgreSQL (authored by Leonardo Rossi <leonardo.r@cern.ch>).Jun 26 2015, 14:09