mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-02 06:58:49 +02:00
#383: support negative numbers in OQL
Enhancements: support MySQL bitwise operators (&, |, ^, <<, >>) and hexadecimal numbers (up to 64-bit). SVN:trunk[2709]
This commit is contained in:
@@ -54,6 +54,27 @@ class OqlName
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Store hexadecimal values as strings so that we can support 64-bit values
|
||||
*
|
||||
*/
|
||||
class OqlHexValue
|
||||
{
|
||||
protected $m_sValue;
|
||||
|
||||
public function __construct($sValue)
|
||||
{
|
||||
$this->m_sValue = $sValue;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
return $this->m_sValue;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class OqlJoinSpec
|
||||
{
|
||||
protected $m_oClass;
|
||||
|
||||
Reference in New Issue
Block a user