我录制了一段oracle存储过程的脚本 如下:
Action()
{
lr_think_time(20);
lrd_ora8_handle_alloc(OraEnv1, STMT, &OraStm7, 0);
lrd_ora8_stmt(OraStm7, "BEGIN sp_order_user_authentication('2','13426280956',null,'0101001',"
"'8000069',null,'0101',null,null,null,null,_result,"
"_result_billing,_result_desc,_ref_returninfo); END;\n", 1, 32, 0);
lrd_assign(&1D10, 0, 0, 0, 0);
lrd_ora8_bind_placeholder(OraStm7, &OraBnd5, "1", &1D10,
LRD_BIND_BY_POS, 0, 0);
lrd_assign(&2D11, 0, 0, 0, 0);
lrd_ora8_bind_placeholder(OraStm7, &OraBnd4, "2", &2D11,
LRD_BIND_BY_POS, 0, 0);
lrd_assign(&3D12, 0, 0, 0, 0);
lrd_ora8_bind_placeholder(OraStm7, &OraBnd3, "3", &3D12,
LRD_BIND_BY_POS, 0, 0);
lrd_ora8_attr_set(OraBnd3, CHARSET_FORM, "1", -1, 0);
lrd_assign(&4D13, 0, 0, 0, 0);
lrd_ora8_bind_placeholder(OraStm7, &OraBnd2, "4", &4D13,
LRD_BIND_BY_POS, 0, 0);
lrd_ora8_attr_set(OraBnd2, CHARSET_FORM, "1", -1, 0);
lrd_ora8_exec(OraSvc1, OraStm7, 1, 0, &uliRowsProcessed, 0, 0, 0, 0,
0);
GRID0(8);
return 0;
}
问题:录制的存储过程的返回值是从GRID0(8)表格中看到为2001020。然后改变条件回放后,预期的结果应该为1001003,但是在GRID0(8)表格中看到的永远是2001020,与录制的值一样?为什么呀? |