Annotation of embedaddon/php/ext/oci8/tests/array_bind_bfloat.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Unsupported type: oci_bind_array_by_name() and SQLT_BFLOAT
        !             3: --SKIPIF--
        !             4: <?php
        !             5: $target_dbs = array('oracledb' => true, 'timesten' => false);  // test runs on these DBs
        !             6: require(dirname(__FILE__).'/skipif.inc');
        !             7: ?> 
        !             8: --FILE--
        !             9: <?php
        !            10: 
        !            11: require dirname(__FILE__).'/connect.inc';
        !            12: 
        !            13: $statement = oci_parse($c, "BEGIN ARRAYBINDPKG1.iobind(:c1); END;");
        !            14: $array = Array(1.243,2.5658,3.4234,4.2123,5.9999);
        !            15: oci_bind_array_by_name($statement, ":c1", $array, 5, 5, SQLT_BFLOAT);
        !            16: 
        !            17: echo "Done\n";
        !            18: ?>
        !            19: --EXPECTF--
        !            20: Warning: oci_bind_array_by_name(): Unknown or unsupported datatype given: 21 in %sarray_bind_bfloat.php on line %d
        !            21: Done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>