Correccion de errores en PMTABLES

This commit is contained in:
Brayan Osmar Pereyra Suxo
2014-05-02 11:19:22 -04:00
parent 7a66e1ed5f
commit 261318036a
2 changed files with 2 additions and 1 deletions

View File

@@ -770,6 +770,7 @@ class PmTable
$types['DATE'] = 'DATE';
$types['TIME'] = 'TIME';
$types['DATETIME'] = 'DATETIME';
$types['TIMESTAMP'] = 'TIMESTAMP';
//$types['BLOB'] = 'BLOB'; <- disabled
//$types['CLOB'] = 'CLOB'; <- disabled

View File

@@ -973,7 +973,7 @@ class Table
{
$rep_tab_name = trim($rep_tab_name);
if ((strpos($rep_tab_name, ' ')) || (strlen($rep_tab_name) < 4)) {
throw (new \Exception("The property rep_tab_name: '$rep_tab_name' is incorrect."));
throw (new \Exception("The property pmt_tab_name: '$rep_tab_name' is incorrect."));
}
$rep_tab_name = G::toUpper($rep_tab_name);
if (substr($rep_tab_name, 0, 4) != 'PMT_') {