mirror of
https://github.com/php/php-src.git
synced 2026-03-26 17:22:15 +01:00
MFH
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user