]> granicus.if.org Git - php/commitdiff
Test correct binding of 16-bit NUMERIC parameters
authorArd Biesheuvel <abies@php.net>
Wed, 3 Sep 2003 15:24:50 +0000 (15:24 +0000)
committerArd Biesheuvel <abies@php.net>
Wed, 3 Sep 2003 15:24:50 +0000 (15:24 +0000)
ext/interbase/tests/006.phpt

index 03abba8b87a9fa4de74cf6c75ca7425b51acddda..cfbb83a0eddd4057c980df8dd67ad5be465c9383 100644 (file)
@@ -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)*/