Commit 8c35d0a
authored
fix: unmarshalling error for staging files without bytes per table (#5725)
# Description
**BUG:** Unmarshalling of existing records in the `wh_staging_files`
table was failing due to the `bytes_per_table` column having a default
value of NULL.
**FIX:**
Updated the insert and read methods to handle the nil case for
BytesPerTable
## Security
- [x] The code changed/added as part of this pull request won't create
any security issues with how the software is being used.1 parent b1f4ce0 commit 8c35d0a
1 file changed
+15
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
135 | 140 | | |
136 | 141 | | |
137 | 142 | | |
| |||
168 | 173 | | |
169 | 174 | | |
170 | 175 | | |
171 | | - | |
| 176 | + | |
172 | 177 | | |
173 | 178 | | |
174 | 179 | | |
| |||
233 | 238 | | |
234 | 239 | | |
235 | 240 | | |
236 | | - | |
237 | | - | |
238 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
239 | 246 | | |
240 | 247 | | |
241 | 248 | | |
| |||
0 commit comments