mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Windows portabilty fixups (last commit caused some errors, so recomitting) - SCRUM
This commit is contained in:
@ -55,8 +55,10 @@ inline bool Protocol::convert_str(const char *from, uint length)
|
||||
|
||||
void send_error(THD *thd, uint sql_errno, const char *err)
|
||||
{
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
uint length;
|
||||
char buff[MYSQL_ERRMSG_SIZE+2];
|
||||
#endif
|
||||
NET *net= &thd->net;
|
||||
DBUG_ENTER("send_error");
|
||||
DBUG_PRINT("enter",("sql_errno: %d err: %s", sql_errno,
|
||||
|
Reference in New Issue
Block a user