mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Enforce standard declaration order in SPs.
Added new test cases for this, and adjusted old tests accordingly, and new error codes and messages. Fixed bugs in some tests (bug2673 and use test). Added debug printing of instructions in SPs.
This commit is contained in:
@ -698,6 +698,20 @@ void String::qs_append(const char &c)
|
||||
str_length += sizeof(c);
|
||||
}
|
||||
|
||||
void String::qs_append(int i)
|
||||
{
|
||||
char *buff = Ptr + str_length;
|
||||
sprintf(buff,"%d", i);
|
||||
str_length += strlen(buff);
|
||||
}
|
||||
|
||||
void String::qs_append(uint i)
|
||||
{
|
||||
char *buff = Ptr + str_length;
|
||||
sprintf(buff,"%u", i);
|
||||
str_length += strlen(buff);
|
||||
}
|
||||
|
||||
|
||||
int sortcmp(const String *x,const String *y, CHARSET_INFO *cs)
|
||||
{
|
||||
|
Reference in New Issue
Block a user