#19199062 notnull attributes 처리부분 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7758 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2010-10-15 06:26:26 +00:00
parent 54e4371f37
commit 1a33ef12bc

View file

@ -439,11 +439,16 @@
$value = $val['value'];
if($output->column_type[$name]!='number') {
$value = $this->addQuotes($value);
if($value){
$value = "'".$this->addQuotes($value)."'";
$value = "'".$value."'";
}else{
$value = 'null';
if($val['notnull']=='notnull') {
$value = "''";
} else {
$value = 'null';
}
}
} elseif(!$value || is_numeric($value)) $value = (int)$value;