mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 16:02:14 +09:00
#19197635: DBCubrid의 테이블 생성 메소드가 text 타입 필드에 대해 default 값을 문자열 형식으로 처리하지 않는 문제점 수정.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7754 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0ee4b18b53
commit
00637f5ad9
1 changed files with 1 additions and 1 deletions
|
|
@ -374,7 +374,7 @@
|
|||
break;
|
||||
}
|
||||
|
||||
if(isset ($default) && ($type == 'varchar' || $type == 'char')) $default = "'".$default."'";
|
||||
if(isset ($default) && ($type == 'varchar' || $type == 'char' || $type == 'text' || $type == 'tinytext')) $default = sprintf ("'%s'", $default);
|
||||
|
||||
$column_schema[] = sprintf('"%s" %s%s %s %s',
|
||||
$name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue