mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
'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:
parent
c2d977ad77
commit
0431960db5
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue