mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-28 06:36:18 +00:00
feat: MySQL protocol server (#158)
* MySQL protocol server * fix: Rustfmt check * fix: resolve PR comments Co-authored-by: luofucong <luofucong@greptime.com>
This commit is contained in:
@@ -39,6 +39,11 @@ pub enum StatusCode {
|
||||
/// Storage is temporarily unable to handle the request
|
||||
StorageUnavailable,
|
||||
// ====== End of storage related status code =======
|
||||
|
||||
// ====== Begin of server related status code =====
|
||||
/// Runtime resources exhausted, like creating threads failed.
|
||||
RuntimeResourcesExhausted,
|
||||
// ====== End of server related status code =======
|
||||
}
|
||||
|
||||
impl fmt::Display for StatusCode {
|
||||
|
||||
Reference in New Issue
Block a user