#19199062 null 값 insert 시 유연하게 사용하도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7760 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2010-10-15 07:06:44 +00:00
parent c3c5d22fa6
commit b4ccc0c57a

View file

@ -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 = "''";
}
}