mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 10:08:45 +02:00
Data Exchange - Format and save traces (config option: synchro_trace)
SVN:trunk[1102]
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user