Data Exchange - Format and save traces (config option: synchro_trace)

SVN:trunk[1102]
This commit is contained in:
Romain Quetiez
2011-03-01 16:21:04 +00:00
parent 67f8ddf5a8
commit bddb8b4c92
6 changed files with 143 additions and 53 deletions

View File

@@ -1141,6 +1141,23 @@ class AttributeText extends AttributeString
}
}
/**
* Map a log to an attribute
*
* @package iTopORM
*/
class AttributeLongText extends AttributeText
{
protected function GetSQLCol() {return "LONGTEXT";}
public function GetMaxSize()
{
// Is there a way to know the current limitation for mysql?
// See mysql_field_len()
return 65535*1024; // Limited... still 64 Mb!
}
}
/**
* Map a text column (size > ?), containing HTML code, to an attribute
*