File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ pub struct MySQLClient {
3232
3333impl MySQLClient {
3434 pub async fn create ( database : & str ) -> Result < Self > {
35- let url = format ! ( "mysql://root:@127.0.0.1:3307 /{database}" ) ;
35+ let url = format ! ( "mysql://root:@127.0.0.1:3308 /{database}" ) ;
3636 let pool = Pool :: new ( url. as_str ( ) ) ;
3737 let conn = pool. get_conn ( ) . await ?;
3838 Ok ( Self {
Original file line number Diff line number Diff line change 11statement ok
22set variable (a, b) = (select 3, 'x')
33
4+ onlyif http
45query TTT
56show variables
67----
78a 3 UInt8
89b 'x' String
910
11+ onlyif http
1012query TTT
1113show variables where name like 'a'
1214----
1315a 3 UInt8
1416
15-
17+ onlyif http
1618query TTT
1719show variables where type = 'UInt8'
1820----
1921a 3 UInt8
2022
23+ onlyif http
2124query TTT
2225show variables where value = '\'x\''
2326----
2427b 'x' String
28+
29+ query TTT
30+ select name, value, type from show_variables() where name='a';
31+ ----
32+ a 3 UInt8
You canโt perform that action at this time.
0 commit comments