fix mysql insert_id overflow

This commit is contained in:
holmes1412
2021-03-31 16:56:17 +08:00
parent f55d5a2da8
commit 6278a65d92

View File

@@ -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;
}