Skip to content

Commit

Permalink
Update tutorial-12-mysql_cli.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim authored Sep 10, 2020
1 parent 4beb26c commit 53ddded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial-12-mysql_cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ WFMySQLConnection相当于一个二级工厂,我们约定任何工厂对象的
~~~cpp
WFMySQLConnection *conn = new WFMySQLConnection(1234);
conn->init(url);
auto *task = conn->create_query_task("SELECT * from table", my_callback);
auto *task = conn->create_query_task("SELECT * from table", my_callback);
conn->deinit();
delete conn;
task->start();
Expand Down

0 comments on commit 53ddded

Please sign in to comment.