Param(false); $x = (rand() % 10) + 1; $db->debug= ($i==1); $id = $db->GetOne($sql, array('Z%','Z%',$x)); if($id != $offset+$x) { print "
Error at $x"; break; } } } include_once('../adodb.inc.php'); $db = NewADOConnection('postgres7'); $db->PConnect('localhost','tester','test','test') || die("failed connection"); $enc = "GIF89a%01%00%01%00%80%FF%00%C0%C0%C0%00%00%00%21%F9%04%01%00%00%00%00%2C%00%00%00%00%01%00%01%00%00%01%012%00%3Bt_clear.gif%0D"; $val = rawurldecode($enc); $MAX = 1000; adodb_pr($db->ServerInfo()); echo "
',$MAX,' times, with plan=',getmicrotime() - $t,'
'; $db->_bindInputArray = false; $t = getmicrotime(); doloop(); echo '',$MAX,' times, no plan=',getmicrotime() - $t,'
'; echo ""; echo "INSERTED: ", $enc; echo "
"; echo"RETURNED: ", rawurlencode($v); echo ""; echo "INSERTED: ", $val; echo "
"; echo "RETURNED: ", $v;