mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
#19199062 notnull attributes 처리부분 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7758 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
54e4371f37
commit
1a33ef12bc
1 changed files with 7 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue