In apricot, CUBRID implement an escape function cci_escape_string(), and some parameter of database can influence the result, so in PDO driver, it shall use it to implement PDO:quote.