mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#19199062 null 값 insert 시 유연하게 사용하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7760 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c3c5d22fa6
commit
b4ccc0c57a
1 changed files with 4 additions and 4 deletions
|
|
@ -440,14 +440,14 @@
|
|||
|
||||
if($output->column_type[$name]!='number') {
|
||||
|
||||
$value = $this->addQuotes($value);
|
||||
if($value){
|
||||
$value = "'".$value."'";
|
||||
if(!is_null($value)){
|
||||
$value = "'" . $this->addQuotes($value) ."'";
|
||||
}else{
|
||||
if($val['notnull']=='notnull') {
|
||||
$value = "''";
|
||||
} else {
|
||||
$value = 'null';
|
||||
//$value = 'null';
|
||||
$value = "''";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue