| 21 | #include <string> |
| 22 | |
| 23 | static bool is_end_of_query(const char *line, size_t len, |
| 24 | const std::string& delimiter) |
| 25 | { |
| 26 | if (delimiter.length() > len) |
| 27 | return false; |
| 28 | return !strcmp(line + len-delimiter.length(),delimiter.c_str()); |
| 29 | } |
| 30 | |
| 31 | static std::string delimiter= ";"; |
| 32 | extern "C" int read_bootstrap_query(char *query, int *query_length, |
no test coverage detected