mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
store/show vcols as item->print()
otherwise we'd need to store sql_mode *per vcol* (consider CREATE INDEX...) and how SHOW CREATE TABLE would support that? Additionally, get rid of vcol::expr_str, just to make sure the string is always generated and never leaked in the original form.
This commit is contained in:
@ -584,6 +584,12 @@ public:
|
||||
qs_append((ulonglong)i);
|
||||
}
|
||||
void qs_append(ulonglong i);
|
||||
void qs_append(longlong i, int radix)
|
||||
{
|
||||
char *buff= Ptr + str_length;
|
||||
char *end= ll2str(i, buff, radix, 0);
|
||||
str_length+= (int) (end-buff);
|
||||
}
|
||||
|
||||
/* Inline (general) functions used by the protocol functions */
|
||||
|
||||
|
Reference in New Issue
Block a user