| 318 | THD::used_t m_prepare_time_thd_used_flags; |
| 319 | uint m_prepare_time_charset_collation_map_version; |
| 320 | bool check_charset_collation_map_version(THD *thd, |
| 321 | Reprepare_observer *observer) |
| 322 | { |
| 323 | if ((m_prepare_time_thd_used_flags & THD::CHARACTER_SET_COLLATIONS_USED) && |
| 324 | m_prepare_time_charset_collation_map_version != |
| 325 | thd->variables.character_set_collations.version()) |
| 326 | { |
| 327 | observer->report_error(thd); |
| 328 | return true; |
| 329 | } |
| 330 | return false; |
| 331 | } |
| 332 | private: |
| 333 | bool set_db(const LEX_CSTRING *db); |
| 334 | bool set_parameters(String *expanded_query, |
nothing calls this directly
no test coverage detected