-
Notifications
You must be signed in to change notification settings - Fork 477
-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php laravel6.x 使用PDO插入数据,debug 打印,字段读取为null #758
Comments
字段类型,字段的值是什么? |
数据库字段类型 text ,改为varchar,问题同样存在。 测试字段值
|
1019 0000001111111011 |
这边的这个逻辑应该是可以不用的,我记得协议中是aLong如果为251,则为null;这个判断再readLenencInt中已经有了,具体我还需要查下mysql协议的文档; |
readLenencInt 有针对251 的判断,这个理解。readLenencBytes中的判断是 readFixInt处理后的返回值进行校验。readLenencInt中的len 252 经过 readFixInt处理后 返回的是251 这里再二次判断触发问题了。 |
联系我QQ1019100252 获取测试包 |
配置:
server=native
useServerPrepStmts=false
疑问:
这里len长度是507 ,直接return null。注释return null 可以正常读取。
可以描述下这里的判断逻辑吗?规避下这类问题
The text was updated successfully, but these errors were encountered: