diff options
| author | Ard Biesheuvel <abies@php.net> | 2003-09-03 15:24:50 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <abies@php.net> | 2003-09-03 15:24:50 +0000 |
| commit | 804312c4a1de337987bd5fde12c8813d0f2a1049 (patch) | |
| tree | 8236802e12ccc5b6fc2fc73d6247cb382c78eaaa /ext/interbase | |
| parent | b3b68834b5eef579883b40c93bfd7f86c0166914 (diff) | |
| download | php-git-804312c4a1de337987bd5fde12c8813d0f2a1049.tar.gz | |
Test correct binding of 16-bit NUMERIC parameters
Diffstat (limited to 'ext/interbase')
| -rw-r--r-- | ext/interbase/tests/006.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/interbase/tests/006.phpt b/ext/interbase/tests/006.phpt index 03abba8b87..cfbb83a0ed 100644 --- a/ext/interbase/tests/006.phpt +++ b/ext/interbase/tests/006.phpt @@ -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)*/ |
