| 1290 | }; |
| 1291 | |
| 1292 | inline const char* transactionPriorityToString(TransactionPriority priority, bool capitalize = true) { |
| 1293 | switch (priority) { |
| 1294 | case TransactionPriority::BATCH: |
| 1295 | return capitalize ? "Batch" : "batch"; |
| 1296 | case TransactionPriority::DEFAULT: |
| 1297 | return capitalize ? "Default" : "default"; |
| 1298 | case TransactionPriority::IMMEDIATE: |
| 1299 | return capitalize ? "Immediate" : "immediate"; |
| 1300 | } |
| 1301 | |
| 1302 | ASSERT(false); |
| 1303 | throw internal_error(); |
| 1304 | } |
| 1305 | |
| 1306 | struct StorageMigrationType { |
| 1307 | // These enumerated values are stored in the database configuration, so can NEVER be changed. Only add new ones |
no outgoing calls
no test coverage detected