Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meituan-Dianping/SQLAdvisor
/ net_clear_error
Function
net_clear_error
sql-common/client.c:244–249 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
242
*/
243
244
void net_clear_error(NET *net)
245
{
246
net->last_errno= 0;
247
net->last_error[0]=
'\0'
;
248
strmov(net->sqlstate, not_error_sqlstate);
249
}
250
251
/**
252
Set an error message on the client.
Callers
2
cli_advanced_command
Function · 0.85
client.c
File · 0.85
Calls
1
strmov
Function · 0.85
Tested by
no test coverage detected