Commit e9e4459
Refactor decode_val to use if/else instead of ternary operators
Per review feedback, simplified decode_val function structure:
- Use single 'if uses_ce:' clause for encrypted column path
- Else clause simply returns col_md[3].from_binary(val, protocol_version)
- More readable than chained ternary operators
Maintains same functionality while improving code clarity.
Co-authored-by: mykaul <[email protected]>1 parent 8cda794 commit e9e4459
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
729 | | - | |
730 | | - | |
731 | | - | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
732 | 735 | | |
733 | 736 | | |
734 | 737 | | |
| |||
0 commit comments