Description
execute the following sequence
prepare st1 from select * from `travel-sample`;
delete from system:prepareds where name = 'st1';
prepare sty from select * from `beer-sample`;
curl -v "http://localhost:8093/query/service" -H "Content-Type: application/json" -d '
{ "prepared": "st1","encoded_plan": "H4sI....."}'
you get a 4080 back (encoded_plan parameter does not match encoded_plan for prepared statement).
do it again
curl -v "http://localhost:8093/query/service" -H "Content-Type: application/json" -d '
{ "prepared": "st1","encoded_plan": "H4sI..."}'
you get rows from travel-sample, not beer-sample.
select * from system:prepareds;
"results": [
{
"prepareds":
}
]
oops!
Attachments
Issue Links
- is duplicated by
-
MB-20246 Prepare statements do not work
- Closed