Checks if the specified SQL-state-string defines WARNING condition. This function assumes that the given string contains a valid SQL-state. @param s the condition SQLSTATE. @retval true if the given string defines WARNING condition. @retval false otherwise. */
| 883 | @retval false otherwise. |
| 884 | */ |
| 885 | inline bool is_sqlstate_warning(const char *s) |
| 886 | { return s[0] == '0' && s[1] == '1'; } |
| 887 | |
| 888 | |
| 889 | /** |