mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
A preparatory patch for MDEV-6566.
Adding a new virtual function MY_CHARSET_HANDLER::copy_abort(). Moving character set specific code into the correspoding implementations (for simple, multi-byte and mbmaxlen>1 character sets).
This commit is contained in:
@ -43,10 +43,8 @@ inline uint32 copy_and_convert(char *to, uint32 to_length,
|
||||
}
|
||||
|
||||
|
||||
class String_copier
|
||||
class String_copier: private MY_STRCOPY_STATUS
|
||||
{
|
||||
const char *m_source_end_pos;
|
||||
const char *m_well_formed_error_pos;
|
||||
const char *m_cannot_convert_error_pos;
|
||||
public:
|
||||
const char *source_end_pos() const
|
||||
|
Reference in New Issue
Block a user