Annotation of embedaddon/php/ext/mysqli/tests/bug66043.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #66043 (Segfault calling bind_param() on mysqli)
        !             3: --SKIPIF--
        !             4: <?php
        !             5: require_once('skipif.inc');
        !             6: require_once("connect.inc");
        !             7: if ($IS_MYSQLND) {
        !             8:     die("skip libmysql only test");
        !             9: }
        !            10: require_once('skipifconnectfailure.inc');
        !            11: ?>
        !            12: --FILE--
        !            13: <?php
        !            14: require 'connect.inc';
        !            15: $db = new mysqli($host, $user, $passwd, 'mysql');
        !            16: 
        !            17: $stmt = $db->stmt_init();
        !            18: $stmt->prepare("SELECT User FROM user WHERE password=\"\"");
        !            19: $stmt->execute();
        !            20: $stmt->bind_result($testArg);
        !            21: echo "Okey";
        !            22: ?>
        !            23: --EXPECTF--
        !            24: Okey

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