#19052585 : fixed the problem that default value is not set when it is 0

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7622 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-08-03 05:45:06 +00:00
parent d3a70e65aa
commit fb538bb2e1
8 changed files with 8 additions and 8 deletions

View file

@ -335,7 +335,7 @@
$size?'('.$size.')':'',
$notnull?'NOT NULL':'',
$primary_key?'PRIMARY KEY':'',
$default?"DEFAULT '".$default."'":'',
isset($default)?"DEFAULT '".$default."'":'',
$auto_increment?'AUTOINCREMENT':''
);
}