1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Portability fixes

Fixed bug in end space handle for WHERE text_column="constant"
This commit is contained in:
monty@mysql.com
2004-08-26 18:26:38 +03:00
parent 4ca548bcc6
commit ea687ba5da
28 changed files with 254 additions and 164 deletions

View File

@ -200,7 +200,7 @@ net_printf(THD *thd, uint errcode, ...)
2+SQLSTATE_LENGTH+1 : 2) : 0);
#ifndef EMBEDDED_LIBRARY
text_pos=(char*) net->buff + head_length + offset + 1;
length=(char*)net->buff_end-text_pos;
length= (uint) ((char*)net->buff_end - text_pos);
#else
length=sizeof(text_pos)-1;
#endif