GetDefaultTransactionMode returns the default transaction mode. All engines default to "on" (transactional) for safety and backward compatibility. Users can explicitly set "-- txn-mode = off" when needed for engines with limited transactional DDL support.
()
| 468 | // All engines default to "on" (transactional) for safety and backward compatibility. |
| 469 | // Users can explicitly set "-- txn-mode = off" when needed for engines with limited transactional DDL support. |
| 470 | func GetDefaultTransactionMode() TransactionMode { |
| 471 | // All engines default to "on" for safety and backward compatibility |
| 472 | return TransactionModeOn |
| 473 | } |
| 474 | |
| 475 | func ConvertToParserEngine(e storepb.Engine) (storepb.Engine, error) { |
| 476 | switch e { |
no outgoing calls
no test coverage detected