1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Ensure that result from date_format() is binary

Removed warnings from test suite
This commit is contained in:
monty@mysql.com
2004-02-09 13:59:41 +01:00
parent 3e35cce54d
commit cc78e2d97a
11 changed files with 22 additions and 144 deletions

View File

@ -1021,11 +1021,11 @@ uint my_charpos_8bit(CHARSET_INFO *cs __attribute__((unused)),
}
uint my_wellformedlen_8bit(CHARSET_INFO *cs __attribute__((unused)),
const char *b,
const char *e,
const char *start,
const char *end,
uint nchars)
{
uint nbytes= e-b;
uint nbytes= (uint) (end-start);
return nbytes < nchars ? nbytes : nchars;
}