mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 07:42:11 +09:00
#19286156 XML Query Between 지원
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7890 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3c5c2d214a
commit
c1401b4254
7 changed files with 64 additions and 16 deletions
|
|
@ -187,13 +187,11 @@
|
|||
|
||||
// 쿼리 문 실행
|
||||
$result = @cubrid_execute ($this->fd, $query);
|
||||
//if(!$result){ debugPrint('result null: ' .$query); }
|
||||
// 오류 체크
|
||||
if (cubrid_error_code ()) {
|
||||
$code = cubrid_error_code ();
|
||||
$msg = cubrid_error_msg ();
|
||||
|
||||
//debugPrint('query error : '. $code.', msg:'. $msg .', ' .$query);
|
||||
$this->setError ($code, $msg);
|
||||
}
|
||||
|
||||
|
|
@ -308,7 +306,6 @@
|
|||
}
|
||||
|
||||
$result = $this->_query ($query);
|
||||
//if(!$result) debugPrint($query);
|
||||
if (cubrid_num_rows($result) > 0) {
|
||||
$output = true;
|
||||
}
|
||||
|
|
@ -577,7 +574,7 @@
|
|||
foreach ($val['condition'] as $v) {
|
||||
if (!isset ($v['value'])) continue;
|
||||
if ($v['value'] === '') continue;
|
||||
if (!in_array (gettype ($v['value']), array ('string', 'integer', 'double'))) continue;
|
||||
if(!in_array(gettype($v['value']), array('string', 'integer', 'double', 'array'))) continue;
|
||||
|
||||
$name = $v['column'];
|
||||
$operation = $v['operation'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue