File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ license = "MIT/Apache-2.0"
1818
1919[badges ]
2020travis-ci = { repository = " jonhoo/msql-srv" }
21- appveyor = { repository = " jonhoo/msql-srv" , branch = " master" , service = " github" }
2221codecov = { repository = " jonhoo/msql-srv" , branch = " master" , service = " github" }
2322maintenance = { status = " experimental" }
2423
Original file line number Diff line number Diff line change 33[ ![ Crates.io] ( https://img.shields.io/crates/v/msql_srv.svg )] ( https://crates.io/crates/msql_srv )
44[ ![ Documentation] ( https://docs.rs/msql-srv/badge.svg )] ( https://docs.rs/msql-srv/ )
55[ ![ Build Status] ( https://travis-ci.org/jonhoo/msql-srv.svg?branch=master )] ( https://travis-ci.org/jonhoo/msql-srv )
6- [ ![ Windows Build Status] ( https://ci.appveyor.com/api/projects/status/github/jonhoo/msql-srv?svg=true&branch=master )] ( https://ci.appveyor.com/project/jonhoo/msql-srv )
76[ ![ Codecov] ( https://codecov.io/github/jonhoo/msql-srv/coverage.svg?branch=master )] ( https://codecov.io/gh/jonhoo/msql-srv )
87
98Bindings for emulating a MySQL/MariaDB server.
@@ -26,6 +25,8 @@ use msql_srv::*;
2625
2726struct Backend ;
2827impl <W : io :: Write > MysqlShim <W > for Backend {
28+ type Error = io :: Error ;
29+
2930 fn on_prepare (& mut self , _ : & str , info : StatementMetaWriter <W >) -> io :: Result <()> {
3031 info . reply (42 , & [], & [])
3132 }
@@ -39,6 +40,8 @@ impl<W: io::Write> MysqlShim<W> for Backend {
3940 }
4041 fn on_close (& mut self , _ : u32 ) {}
4142
43+ fn on_init (& mut self , _ : & str , writer : InitWriter <W >) -> io :: Result <()> { Ok (()) }
44+
4245 fn on_query (& mut self , _ : & str , results : QueryResultWriter <W >) -> io :: Result <()> {
4346 let cols = [
4447 Column {
Original file line number Diff line number Diff line change 33[](https://crates.io/crates/msql_srv)
44[](https://docs.rs/msql-srv/)
55[](https://travis-ci.org/jonhoo/msql-srv)
6- [](https://ci.appveyor.com/project/jonhoo/msql-srv)
76[](https://codecov.io/gh/jonhoo/msql-srv)
87
98{ {readme} }
You can’t perform that action at this time.
0 commit comments