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

Small fixes.

This commit is contained in:
jani@a193-229-222-105.elisa-laajakaista.fi
2005-09-30 12:35:12 +03:00
parent 8d3036c35e
commit aa08fd0d0a
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ int net_send_error(struct st_net *net, uint sql_errno)
MYSQL_ERRMSG_SIZE]; // message
char *pos= buff;
int ERROR_PACKET_CODE= 255;
const int ERROR_PACKET_CODE= 255;
*pos++= ERROR_PACKET_CODE;
int2store(pos, sql_errno);
pos+= 2;
@ -95,7 +95,7 @@ int net_send_error_323(struct st_net *net, uint sql_errno)
MYSQL_ERRMSG_SIZE]; // message
char *pos= buff;
int ERROR_PACKET_CODE= 255;
const int ERROR_PACKET_CODE= 255;
*pos++= ERROR_PACKET_CODE;
int2store(pos, sql_errno);
pos+= 2;