1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

New methods to store strings with "convert to" argimument

This commit is contained in:
bar@bar.mysql.r18.ru
2003-04-07 13:52:48 +05:00
parent 4250b44dc9
commit e0caf3f225
3 changed files with 64 additions and 15 deletions

View File

@@ -662,6 +662,8 @@ public:
DBUG_PRINT("error",("Fatal error set"));
}
inline CHARSET_INFO *charset() { return variables.thd_charset; }
inline CHARSET_INFO *result_charset(CHARSET_INFO *cs)
{ return variables.convert_result_charset ? variables.thd_charset : cs; }
};
/*