Ticket #839 (defect)

Opened 3 months ago

Last modified 3 months ago

There is a back tick ( ` ) missing in TMysqlTableInfo.php

Status: closed (fixed)

Reported by: jjmf Assigned to: xue
Priority: urgent Milestone: 3.1.3
Component: Prado Framework v3 Version: 3.1
Severity: minor Keywords: ActiveRecord
Cc:

When using Active Records and set the table name like:

const TABLE = "`dbName`.`tableName`";

you get an error because there there is a back tick missing at line 43 in TMysqlTableInfo.php.

The line is:

return '`'.$schema.'`.`'.$this->getTableName();

And should be:

return '`'.$schema.'`.`'.$this->getTableName() . '`';

Change History

04/25/2008 11:36:02 AM: Modified by mikl

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [2453]. Thanks!