()
| 112 | } |
| 113 | |
| 114 | func (h *Handler) getDefaultDatabase() string { |
| 115 | h.mu.Lock() |
| 116 | defer h.mu.Unlock() |
| 117 | if h.metadata == nil { |
| 118 | return "" |
| 119 | } |
| 120 | return h.metadata.DatabaseName |
| 121 | } |
| 122 | |
| 123 | func (h *Handler) getDefaultSchema() string { |
| 124 | h.mu.Lock() |
no outgoing calls
no test coverage detected