()
| 24 | ) |
| 25 | |
| 26 | func (r FlushReason) String() string { |
| 27 | switch r { |
| 28 | case DDLStmtFlushReason: |
| 29 | return "DDLStmt" |
| 30 | case DMLStmtFlushReason: |
| 31 | return "DMLStmt" |
| 32 | case RowCountLimitFlushReason: |
| 33 | return "RowCountLimit" |
| 34 | case MemoryLimitFlushReason: |
| 35 | return "MemoryLimit" |
| 36 | case TimeTickFlushReason: |
| 37 | return "TimeTick" |
| 38 | case QueryFlushReason: |
| 39 | return "Query" |
| 40 | case InitFlushReason: |
| 41 | return "Init" |
| 42 | case OnCloseFlushReason: |
| 43 | return "OnClose" |
| 44 | default: |
| 45 | return "Unknown" |
| 46 | } |
| 47 | } |
no outgoing calls
no test coverage detected