mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
fix mysql insert_id overflow
This commit is contained in:
@@ -55,7 +55,7 @@ int decode_length_safe(unsigned long long *res, const char **pos, const char *en
|
||||
if (p + 8 > end)
|
||||
return 0;
|
||||
|
||||
*res = uint4korr(p + 1);
|
||||
*res = uint8korr(p + 1);
|
||||
*pos = p + 9;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user