From 00637f5ad99a79f9c675d4e58ee5cd950f2034af Mon Sep 17 00:00:00 2001 From: ysnglee2000 Date: Mon, 11 Oct 2010 15:21:49 +0000 Subject: [PATCH] =?UTF-8?q?#19197635:=20DBCubrid=EC=9D=98=20=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EB=B8=94=20=EC=83=9D=EC=84=B1=20=EB=A9=94=EC=86=8C?= =?UTF-8?q?=EB=93=9C=EA=B0=80=20text=20=ED=83=80=EC=9E=85=20=ED=95=84?= =?UTF-8?q?=EB=93=9C=EC=97=90=20=EB=8C=80=ED=95=B4=20default=20=EA=B0=92?= =?UTF-8?q?=EC=9D=84=20=EB=AC=B8=EC=9E=90=EC=97=B4=20=ED=98=95=EC=8B=9D?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=B2=98=EB=A6=AC=ED=95=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20=EB=AC=B8=EC=A0=9C=EC=A0=90=20=EC=88=98?= =?UTF-8?q?=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7754 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/db/DBCubrid.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/db/DBCubrid.class.php b/classes/db/DBCubrid.class.php index 356f2e993..00b47cb59 100644 --- a/classes/db/DBCubrid.class.php +++ b/classes/db/DBCubrid.class.php @@ -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,