Issue 524 - Query error - fix for ipaddess.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9687 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2011-10-19 12:43:18 +00:00
parent 3830e90733
commit e41941ccd2
2 changed files with 20 additions and 4 deletions

View file

@ -62,4 +62,14 @@
where `message_srl` = 339321 or `related_srl` = 339321';
$this->_test($xml_file, $argsString, $expected);
}
function test_session_updateSession(){
$xml_file = _XE_PATH_ . "modules/session/queries/updateSession.xml";
$argsString = '$args->session_key = 339321; $args->val = "yuhuu";';
$expected = 'update `xe_session` as `session`
set `member_srl` = 0, `val` = \'yuhuu\'
, `last_update` = ' . date("YmdHis") . '
where `session_key` = \'339321\'';
$this->_test($xml_file, $argsString, $expected);
}
}