Add CHARSET keyword (missing from last push)

This commit is contained in:
monty@mashka.mysql.fi 2002-12-11 21:22:57 +02:00
parent 5022e56cba
commit e7164aba7e
2 changed files with 5 additions and 2 deletions

View file

@ -4220,9 +4220,11 @@ void Field_blob::get_key_image(char *buff,uint length)
char *blob;
if ((uint32) length > blob_length)
{
#ifdef HAVE_purify
/*
Must clear this as we do a memcmp in opt_range.cc to detect
identical keys
*/
bzero(buff+2+blob_length, (length-blob_length));
#endif
length=(uint) blob_length;
}
int2store(buff,length);

View file

@ -80,6 +80,7 @@ static SYMBOL symbols[] = {
{ "CASE", SYM(CASE_SYM),0,0},
{ "CHAR", SYM(CHAR_SYM),0,0},
{ "CHARACTER", SYM(CHAR_SYM),0,0},
{ "CHARSET", SYM(CHARSET),0,0},
{ "CHANGE", SYM(CHANGE),0,0},
{ "CHANGED", SYM(CHANGED),0,0},
{ "CHECK", SYM(CHECK_SYM),0,0},