'insert' 쿼리에서 'text'나 'bigtext'의 값이 없을경우 blob 생성하지 않고 null 값이 들어가도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6705 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
clench 2009-07-17 02:33:48 +00:00
parent c2d977ad77
commit 0431960db5

View file

@ -689,6 +689,7 @@
$value = str_replace("'", "`", $value);
if($output->column_type[$name]=="text" || $output->column_type[$name]=="bigtext"){
if(!isset($val['value'])) continue;
$blh = ibase_blob_create($this->fd);
ibase_blob_add($blh, $value);
$value = ibase_blob_close($blh);