Hey, we can quote identifiers with backticks in MySQL. Yay!

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2564 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2009-05-28 22:34:27 +00:00
parent 3aee24ecdc
commit 2537eba304
@@ -142,18 +142,18 @@ public class MySQLLiaison extends BaseLiaison
// from DatabaseLiaison // from DatabaseLiaison
public String columnSQL (String column) public String columnSQL (String column)
{ {
return column; return "`" + column + "`";
} }
// from DatabaseLiaison // from DatabaseLiaison
public String tableSQL (String table) public String tableSQL (String table)
{ {
return table; return "`" + table + "`";
} }
// from DatabaseLiaison // from DatabaseLiaison
public String indexSQL (String index) public String indexSQL (String index)
{ {
return index; return "`" + index + "`";
} }
} }