Merge branch '2.2' into develop

This commit is contained in:
Markus Mäkelä
2018-06-13 00:25:56 +03:00
12 changed files with 154 additions and 78 deletions

View File

@ -217,6 +217,13 @@ public:
*/
void ps_store(GWBUF* buffer, uint32_t id);
/**
* @brief Remove a prepared statement
*
* @param buffer Buffer containing a DEALLOCATE statement or a binary protocol command
*/
void ps_erase(GWBUF* buffer);
/**
* @brief Store a mapping from an external id to the corresponding internal id
*
@ -297,14 +304,6 @@ private:
uint32_t ps_get_type(uint32_t id) const;
uint32_t ps_get_type(std::string id) const;
/**
* @brief Remove a prepared statement
*
* @param id Statement identifier to remove
*/
void ps_erase(std::string id);
void ps_erase(uint32_t id);
/**
* @brief Get the internal ID for the given binary prepared statement
*