mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1116 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
eba01b284c
commit
7586d9a27d
1 changed files with 3 additions and 1 deletions
|
|
@ -91,6 +91,7 @@
|
|||
**/
|
||||
function close() {
|
||||
if(!$this->isConnected()) return;
|
||||
cubrid_commit($this->fd);
|
||||
@cubrid_disconnect($this->fd);
|
||||
}
|
||||
|
||||
|
|
@ -320,6 +321,7 @@
|
|||
$pipe = $v['pipe'];
|
||||
|
||||
$value = $this->getConditionValue($name, $value, $operation, $type);
|
||||
|
||||
$str = $this->getConditionPart($name, $value, $operation);
|
||||
if($sub_condition) $sub_condition .= ' '.$pipe.' ';
|
||||
$sub_condition .= $str;
|
||||
|
|
@ -358,7 +360,7 @@
|
|||
$value_list[] = $value;
|
||||
}
|
||||
|
||||
$query = sprintf("insert into %s (%s) values (%s);", implode(',',$table_list), '"'.implode('","',$column_list).'"', implode(',', $value_list));
|
||||
$query = sprintf("insert into %s (%s) values (%s);", implode(',',$table_list), implode(',',$column_list), implode(',', $value_list));
|
||||
return $this->_query($query);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue