diff options
author | Ard Biesheuvel <abies@php.net> | 2003-08-17 16:14:29 +0000 |
---|---|---|
committer | Ard Biesheuvel <abies@php.net> | 2003-08-17 16:14:29 +0000 |
commit | 91e3344eec9383ec94bf6eed7f259ca13f3358ac (patch) | |
tree | 8b9671083b804f21a2ce8bf90a4cd78d4bcbb392 | |
parent | 008115b9ed8c5e3de15a22aeaff41eba6180174a (diff) | |
download | php-git-91e3344eec9383ec94bf6eed7f259ca13f3358ac.tar.gz |
Test immediate BLOB inserts
-rw-r--r-- | ext/interbase/tests/004.phpt | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ext/interbase/tests/004.phpt b/ext/interbase/tests/004.phpt index c30523a3f7..85272b3a09 100644 --- a/ext/interbase/tests/004.phpt +++ b/ext/interbase/tests/004.phpt @@ -55,14 +55,7 @@ InterBase: BLOB test echo "create blob 2\n"; - $bl_h = ibase_blob_create(); - $ftmp = fopen($name,"r"); - while($piece = fread($ftmp, 1 + rand() % 1024)){ - ibase_blob_add($bl_h, $piece); - } - fclose($ftmp); - $bl_s = ibase_blob_close($bl_h); - ibase_query("insert into test4 (v_integer, v_blob) values (2, ?)", $bl_s); + ibase_query("insert into test4 (v_integer, v_blob) values (2, ?)", $blob_str); echo "test blob 2\n"; |