mirror of
https://github.com/php/php-src.git
synced 2025-01-20 10:43:40 +08:00
Test correct binding of 16-bit NUMERIC parameters
This commit is contained in:
parent
b3b68834b5
commit
804312c4a1
@ -89,6 +89,21 @@ InterBase: binding (may take a while)
|
||||
echo " in: $v_integer\n";
|
||||
echo " out: $row->V_INTEGER\n";
|
||||
}
|
||||
if ($row->V_NUMERIC != $v_numeric){
|
||||
echo " NUMERIC fail\n";
|
||||
echo " in: $v_numeric\n";
|
||||
echo " out: $row->V_NUMERIC\n";
|
||||
}
|
||||
if ($row->V_SMALLINT != $v_smallint){
|
||||
echo " SMALLINT fail\n";
|
||||
echo " in: $v_smallint\n";
|
||||
echo " out: $row->V_SMALLINT\n";
|
||||
}
|
||||
if ($row->V_VARCHAR != $v_varchar){
|
||||
echo " VARCHAR fail:\n";
|
||||
echo " in: $v_varchar\n";
|
||||
echo " out: $row->V_VARCHAR\n";
|
||||
}
|
||||
ibase_free_result($sel);
|
||||
}/* for($iter)*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user