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:
LFC
2022-08-12 11:41:45 +08:00
committed by GitHub
co-authored by luofucong
parent 41ffbe82f8
commit 4098c57446
19 changed files with 1565 additions and 39 deletions
+5
View File
@@ -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 {