Commit 89a3211
Restore decode_val function for readability and remove unused import
Per review feedback:
- Restored decode_val function in encryption path for better readability
- Keeps the structure similar to original code but without redundant policy check
- Removed unused MagicMock import from test file
The optimization remains the same: contains_column() called once per column.
Co-authored-by: mykaul <[email protected]>1 parent 12eac38 commit 89a3211
File tree
2 files changed
+7
-7
lines changed- cassandra
- tests/unit
2 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
733 | 738 | | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
| 739 | + | |
740 | 740 | | |
741 | 741 | | |
742 | 742 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments