Skip to content

Wrong quotes are used #15

Description

@werewolf

For example:

        $conn->createCommand(
            sprintf(
                "DELETE
                 FROM `%s`
                 WHERE %s = %d",
                $this->getTagBindingTableName(),
                $this->getModelTableFkName(),
                $this->getOwner()->primaryKey
            )
        )->execute();

makes an error in postgresql. The table should be escaped by CDbConnection#quoteTableName()
This happens in multiple methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions