diff options
author | unknown <msvensson@neptunus.(none)> | 2005-12-20 15:34:58 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-12-20 15:34:58 +0100 |
commit | 867e01d9fe77c2b808e772d8328237928f350bf3 (patch) | |
tree | 8014775f345618b65cbe6fe1640c74cc3820436b /mysql-test/r/mysqltest.result | |
parent | 58de4d7e28c782341bc2160bd93fcaeb8f9dfd01 (diff) | |
download | mariadb-git-867e01d9fe77c2b808e772d8328237928f350bf3.tar.gz |
Store the each column from a multi column result set into a separate variable.
client/mysqltest.c:
Update var_query_set to store every column from a query into a separate variable.
The whole result will still be stored as tab separated string in the var that let points at.
mysql-test/r/mysqltest.result:
Add test results
mysql-test/t/mysqltest.test:
Add tests for "one variable for each column" from let.
Diffstat (limited to 'mysql-test/r/mysqltest.result')
-rw-r--r-- | mysql-test/r/mysqltest.result | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/r/mysqltest.result b/mysql-test/r/mysqltest.result index 0109436fac9..bf3821555cc 100644 --- a/mysql-test/r/mysqltest.result +++ b/mysql-test/r/mysqltest.result @@ -222,6 +222,25 @@ mysqltest: At line 1: Missing arguments to let mysqltest: At line 1: Missing variable name in let mysqltest: At line 1: Variable name in =hi does not start with '$' mysqltest: At line 1: Missing assignment operator in let +var1 +hi 1 hi there +hi +1 +hi there +var2 +2 + + +var2 again +2 + +2 + +var3 two columns with same name +1 2 3 +2 +2 +3 mysqltest: At line 1: Missing file name in source mysqltest: At line 1: Could not open file ./non_existingFile mysqltest: In included file "./var/tmp/recursive.sql": At line 1: Source directives are nesting too deep |