mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Add test's from Matthias for assigning one variable from another using let
This commit is contained in:
@ -269,6 +269,15 @@ mysqltest: At line 1: Missing assignment operator in let
|
||||
1
|
||||
# Execute: echo $success ;
|
||||
1
|
||||
# Check if let $B = $A is an assignment per value.
|
||||
let $A = initial value of A;
|
||||
let $B = initial value of B;
|
||||
let $B = $A
|
||||
# Content of $A is: initial value of B
|
||||
let $A = changed value of A;
|
||||
# Content of $B is: initial value of B
|
||||
let $B = changed value of B;
|
||||
# Content of $A is: changed value of A
|
||||
mysqltest: At line 1: Missing required argument 'filename' to command 'source'
|
||||
mysqltest: At line 1: Could not open file ./non_existingFile
|
||||
mysqltest: In included file "MYSQLTEST_VARDIR/tmp/recursive.sql": At line 1: Source directives are nesting too deep
|
||||
|
Reference in New Issue
Block a user