Homec4science

Re-execute multi-queries if some query fails

Authored by Jakub Vrana <jakub@vrana.cz> on May 11 2013, 16:34.

Description

Re-execute multi-queries if some query fails

Summary:
If some query fails, all next queries are not accessible.

Also don't report correct queries not returning results as errors.

Test Plan:

print_r(array_map('gettype', $conn->executeRawQueries(array(
  "SELECT 1",
  "DO",
  "DO SLEEP(5)",
))));
// And other permutations.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5900

Details

Committed
Jakub Vrana <jakub@vrana.cz>May 11 2013, 16:34
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUdbb1041f6b67: Allow comments in multi queries
Branches
Unknown
Tags
Unknown

Event Timeline

Jakub Vrana <jakub@vrana.cz> committed rPHUabcbd8dc7fe4: Re-execute multi-queries if some query fails (authored by Jakub Vrana <jakub@vrana.cz>).May 11 2013, 16:34