2011-08-22 13:58:49 +02:00
-1 before test
<No error> before test
Fix multiple test suite failures in Buildbot due to races in the test cases or missing server features not properly checked
mysql-test/r/func_misc.result:
Move test that requires query cache from main.func_misc to main.query_cache.
mysql-test/r/mysqltest.result:
Fix test failure due to race.
This test case creates > 300 connections in a tight loop, and depending on thread
scheduling and load, even though each connection is immediately disconnected
before connecting the next one, the server max connections may still be exceeded
due to server not being able to free old connections as fast as new ones are made.
mysql-test/r/query_cache.result:
Move test that requires query cache from main.func_misc to main.query_cache.
Move test that requires query cache from main.variables to main.query_cache.
mysql-test/r/query_cache_notembedded.result:
Move test that requires query cache from main.sp_notembedded to main.query_cache_notembedded.
mysql-test/r/sp_notembedded.result:
Move test that requires query cache from main.sp_notembedded to main.query_cache_notembedded.
mysql-test/r/udf.result:
Move test in main.udf that requires query cache to separate file.
mysql-test/r/udf_query_cache.result:
Move test in main.udf that requires query cache to separate file.
mysql-test/r/variables.result:
Move test that requires query cache from main.variables to main.query_cache.
mysql-test/suite/funcs_1/datadict/processlist_val.inc:
Fix race where result file may show state "cleaning up" in the small window
between setting COMMAND to 'Sleep' and clearing STATE.
mysql-test/suite/rpl/r/rpl_temporary.result:
Fix race with suppression of warning message by fixing the test to not generate the
warning message in the first place.
Problem was a race between creating an anonymous account and resetting the slave.
If the slave reset happens before replicating the account, the subsequest deletion
of the account will fail to replicate correctly due to missing row.
mysql-test/suite/rpl/t/rpl_temporary.test:
Fix race with suppression of warning message by fixing the test to not generate the
warning message in the first place.
Problem was a race between creating an anonymous account and resetting the slave.
If the slave reset happens before replicating the account, the subsequest deletion
of the account will fail to replicate correctly due to missing row.
mysql-test/t/func_misc.test:
Move test that requires query cache from main.func_misc to main.query_cache.
Move test that requires query cache from main.variables to main.query_cache.
mysql-test/t/mysqltest.test:
Fix test failure due to race.
This test case creates > 300 connections in a tight loop, and depending on thread
scheduling and load, even though each connection is immediately disconnected
before connecting the next one, the server max connections may still be exceeded
due to server not being able to free old connections as fast as new ones are made.
mysql-test/t/query_cache.test:
Move test that requires query cache to main.query_cache.
mysql-test/t/query_cache_notembedded.test:
Move test that requires query cache from main.sp_notembedded to main.query_cache_notembedded.
mysql-test/t/sp_notembedded.test:
Move test that requires query cache from main.sp_notembedded to main.query_cache_notembedded.
mysql-test/t/udf.test:
Move test in main.udf that requires query cache to separate file.
mysql-test/t/udf_query_cache-master.opt:
Move test in main.udf that requires query cache to separate file.
mysql-test/t/udf_query_cache.test:
Move test in main.udf that requires query cache to separate file.
mysql-test/t/variables.test:
Move test that requires query cache from main.variables to main.query_cache.
tests/mysql_client_test.c:
In tests that require query cache, skip the test if query cache not available.
Do this dynamically rather than using HAVE_QUERY_CACHE, as there is no guarantee
that the server we run against was compiled with same preprocessor #define as
the mysql_client_test program (and since it is trivial to check dynamically).
2010-01-11 14:15:28 +01:00
SET GLOBAL max_connections = 1000;
2004-10-22 05:56:27 +02:00
select otto from (select 1 as otto) as t1;
otto
1
select otto from (select 1 as otto) as t1;
otto
1
2011-05-09 13:38:49 +02:00
select friedrich from (select 1 as otto) as t1;
2005-07-15 17:51:43 +02:00
mysqltest: At line 1: query 'select friedrich from (select 1 as otto) as t1' failed: 1054: Unknown column 'friedrich' in 'field list'
2004-10-22 05:56:27 +02:00
select friedrich from (select 1 as otto) as t1;
ERROR 42S22: Unknown column 'friedrich' in 'field list'
select otto from (select 1 as otto) as t1;
otto
1
2011-05-09 13:38:49 +02:00
select otto from (select 1 as otto) as t1;
2005-07-15 17:51:43 +02:00
mysqltest: At line 1: query 'select otto from (select 1 as otto) as t1' succeeded - should have failed with sqlstate 42S22...
2008-07-21 11:20:03 +02:00
mysqltest: At line 1: expecting a SQL-state (00000) from query 'remove_file MYSQLTEST_VARDIR/tmp/test_nonexistent.tmp' which cannot produce one...
2004-10-22 05:56:27 +02:00
select friedrich from (select 1 as otto) as t1;
ERROR 42S22: Unknown column 'friedrich' in 'field list'
2011-05-09 13:38:49 +02:00
select friedrich from (select 1 as otto) as t1;
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: query 'select friedrich from (select 1 as otto) as t1' failed with wrong sqlstate 42S22: 'Unknown column 'friedrich' in 'field list'', instead of 00000...
2004-10-29 14:51:56 +02:00
select otto from (select 1 as otto) as t1;
otto
1
2011-08-22 13:58:49 +02:00
2004-10-29 14:51:56 +02:00
select 0 as "after_successful_stmt_errno" ;
after_successful_stmt_errno
0
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2011-08-22 13:58:49 +02:00
ER_PARSE_ERROR
2004-10-29 14:51:56 +02:00
select 1064 as "after_wrong_syntax_errno" ;
after_wrong_syntax_errno
1064
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2011-08-22 13:58:49 +02:00
ER_PARSE_ERROR
2004-10-29 14:51:56 +02:00
select 1064 as "after_let_var_equal_value" ;
after_let_var_equal_value
1064
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2004-10-29 14:51:56 +02:00
set @my_var= 'abc' ;
2011-08-22 13:58:49 +02:00
2004-10-29 14:51:56 +02:00
select 0 as "after_set_var_equal_value" ;
after_set_var_equal_value
0
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2011-08-22 13:58:49 +02:00
ER_PARSE_ERROR
2004-10-29 14:51:56 +02:00
select 1064 as "after_disable_warnings_command" ;
after_disable_warnings_command
1064
drop table if exists t1 ;
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2004-10-29 14:51:56 +02:00
drop table if exists t1 ;
2011-08-22 13:58:49 +02:00
2004-10-29 14:51:56 +02:00
select 0 as "after_disable_warnings" ;
after_disable_warnings
0
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2004-10-29 14:51:56 +02:00
select 3 from t1 ;
ERROR 42S02: Table 'test.t1' doesn't exist
2011-08-22 13:58:49 +02:00
ER_NO_SUCH_TABLE
2004-10-29 14:51:56 +02:00
select 1146 as "after_minus_masked" ;
after_minus_masked
1146
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2004-10-29 14:51:56 +02:00
select 3 from t1 ;
ERROR 42S02: Table 'test.t1' doesn't exist
2011-08-22 13:58:49 +02:00
ER_NO_SUCH_TABLE
2004-10-29 14:51:56 +02:00
select 1146 as "after_!_masked" ;
after_!_masked
1146
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2004-10-29 14:51:56 +02:00
select -1 as "after_let_errno_equal_value" ;
after_let_errno_equal_value
-1
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2004-10-29 14:51:56 +02:00
prepare stmt from "select 3 from t1" ;
ERROR 42S02: Table 'test.t1' doesn't exist
2011-08-22 13:58:49 +02:00
ER_NO_SUCH_TABLE
2004-10-29 14:51:56 +02:00
select 1146 as "after_failing_prepare" ;
after_failing_prepare
1146
create table t1 ( f1 char(10));
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2004-10-29 14:51:56 +02:00
prepare stmt from "select 3 from t1" ;
2011-08-22 13:58:49 +02:00
2004-10-29 14:51:56 +02:00
select 0 as "after_successful_prepare" ;
after_successful_prepare
0
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2004-10-29 14:51:56 +02:00
execute stmt;
3
2011-08-22 13:58:49 +02:00
2004-10-29 14:51:56 +02:00
select 0 as "after_successful_execute" ;
after_successful_execute
0
drop table t1;
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2004-10-29 14:51:56 +02:00
execute stmt;
ERROR 42S02: Table 'test.t1' doesn't exist
2011-08-22 13:58:49 +02:00
ER_NO_SUCH_TABLE
2004-10-29 14:51:56 +02:00
select 1146 as "after_failing_execute" ;
after_failing_execute
1146
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2004-10-29 14:51:56 +02:00
execute __stmt_;
ERROR HY000: Unknown prepared statement handler (__stmt_) given to EXECUTE
2011-08-22 13:58:49 +02:00
ER_UNKNOWN_STMT_HANDLER
2004-10-29 14:51:56 +02:00
select 1243 as "after_failing_execute" ;
after_failing_execute
1243
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2004-10-29 14:51:56 +02:00
deallocate prepare stmt;
2011-08-22 13:58:49 +02:00
2004-10-29 14:51:56 +02:00
select 0 as "after_successful_deallocate" ;
after_successful_deallocate
0
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2004-10-29 14:51:56 +02:00
deallocate prepare __stmt_;
ERROR HY000: Unknown prepared statement handler (__stmt_) given to DEALLOCATE PREPARE
2011-08-22 13:58:49 +02:00
ER_UNKNOWN_STMT_HANDLER
2004-10-29 14:51:56 +02:00
select 1243 as "after_failing_deallocate" ;
after_failing_deallocate
1243
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2011-08-22 13:58:49 +02:00
ER_PARSE_ERROR
2004-10-29 14:51:56 +02:00
select 1064 as "after_--disable_abort_on_error" ;
after_--disable_abort_on_error
1064
select 3 from t1 ;
ERROR 42S02: Table 'test.t1' doesn't exist
select 3 from t1 ;
ERROR 42S02: Table 'test.t1' doesn't exist
select 3 from t1 ;
ERROR 42S02: Table 'test.t1' doesn't exist
2011-08-22 13:58:49 +02:00
ER_NO_SUCH_TABLE
2004-10-29 14:51:56 +02:00
select 1146 as "after_!errno_masked_error" ;
after_!errno_masked_error
1146
2011-05-09 13:38:49 +02:00
select 3 from t1;
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: query 'select 3 from t1' failed with wrong errno 1146: 'Table 'test.t1' doesn't exist', instead of 1000...
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2011-09-14 15:19:24 +02:00
is empty
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'nonsense' at line 1
2011-09-14 15:19:24 +02:00
is empty
2004-10-29 14:51:56 +02:00
garbage ;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2011-08-22 13:58:49 +02:00
ER_PARSE_ERROR
2004-10-29 14:51:56 +02:00
select 1064 as "after_--enable_abort_on_error" ;
after_--enable_abort_on_error
1064
select 3 from t1 ;
ERROR 42S02: Table 'test.t1' doesn't exist
2011-05-09 13:38:49 +02:00
select 3 from t1;
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: query 'select 3 from t1' failed with wrong errno 1146: 'Table 'test.t1' doesn't exist', instead of 1064...
2011-09-14 15:15:36 +02:00
garbage;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2011-09-14 15:15:36 +02:00
select 2;
select 3;
3
3
select 5;
ERROR 42S02: Table 'test.t1' doesn't exist
select 7;
7
7
mysqltest: At line 1: End of line junk detected: "OCNE"
connect con1,localhost,root,,;
select 5 from t1;
lower
case
name
abc
xyz
2011-09-14 15:19:24 +02:00
is empty
is empty
"Yes it's empty"
2005-07-15 17:51:43 +02:00
hello
hello
;;;;;;;;
# MySQL: -- The
2010-02-09 18:13:57 +01:00
mysqltest: At line 1: Extra argument '6' passed to 'sleep'
mysqltest: At line 1: Extra argument '6' passed to 'sleep'
mysqltest: At line 1: Extra argument 'A comment
show status' passed to 'sleep'
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: End of line junk detected: "sleep 7
# Another comment
"
2009-01-15 09:05:51 +01:00
mysqltest: At line 1: Extra argument 'comment
# comment 3
disable_query_log' passed to 'disconnect'
mysqltest: At line 1: Extra argument 'comment
# comment 3
disable_query_log' passed to 'disconnect'
2006-10-05 12:25:24 +02:00
mysqltest: At line 1: End of line junk detected: "disconnect default
#
# comment
# comment2
# comment 3
--disable_query_log
"
mysqltest: At line 1: End of line junk detected: "disconnect default # comment
# comment part2
# comment 3
--disable_query_log
"
2005-07-15 17:51:43 +02:00
mysqltest: At line 1: Extra delimiter ";" found
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: Extra delimiter ";" found
2010-09-15 14:56:22 +02:00
mysqltest: At line 1: Spurious text after `query` expression
mysqltest: At line 1: Spurious text after `query` expression
mysqltest: At line 2: Spurious text after `query` expression
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: Missing argument(s) to 'error'
mysqltest: At line 1: Missing argument(s) to 'error'
mysqltest: At line 1: The sqlstate definition must start with an uppercase S
2013-11-08 17:59:08 +01:00
mysqltest: At line 1: The error name definition must start with an uppercase E or W or H
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: Invalid argument to error: '9eeeee' - the errno may only consist of digits[0-9]
mysqltest: At line 1: Invalid argument to error: '1sssss' - the errno may only consist of digits[0-9]
mysqltest: At line 1: The sqlstate must be exactly 5 chars long
mysqltest: At line 1: The sqlstate may only consist of digits[0-9] and _uppercase_ letters
mysqltest: At line 1: The sqlstate must be exactly 5 chars long
Update tests and result files after running with new mysqltest that better detects problems with test files
mysql-test/r/csv.result:
Update after add of missing semicolon
mysql-test/r/drop.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/flush.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/flush_block_commit.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/flush_read_lock_kill.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/grant2.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/handler.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/innodb_notembedded.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/kill.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/lock_multi.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/multi_update.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/mysqltest.result:
Update result
mysql-test/r/query_cache.result:
Update after add of missing semicolon
mysql-test/r/query_cache_notembedded.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/sp-threads.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/sp_notembedded.result:
Update after add of missing semicolon
mysql-test/r/type_blob.result:
Remove extra drop table
mysql-test/t/csv.test:
Add missing semicolon
mysql-test/t/query_cache.test:
Add missing semicolon
mysql-test/t/sp-error.test:
Remove "tab" from end of error declaration
mysql-test/t/sp.test:
Wrong delimiter, used ; instead of |
mysql-test/t/sp_notembedded.test:
Wrong delimiter, used ; instead of |
mysql-test/t/view_grant.test:
An incomplete error name specification was used.
2006-10-04 13:09:37 +02:00
mysqltest: At line 1: Unknown SQL error name 'E9999'
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: Invalid argument to error: '999e9' - the errno may only consist of digits[0-9]
mysqltest: At line 1: Invalid argument to error: '9b' - the errno may only consist of digits[0-9]
mysqltest: At line 1: Too many errorcodes specified
2005-07-15 17:51:43 +02:00
MySQL
"MySQL"
MySQL: The world''s most popular open source database
"MySQL: The world's most popular open source database"
MySQL: The world''s
most popular open
source database
# MySQL: The world''s
# most popular open
# source database
- MySQL: The world''s
- most popular open
- source database
- MySQL: The world''s
2006-10-03 15:33:44 +02:00
-- most popular
-- open source database
2005-07-15 17:51:43 +02:00
# MySQL: The
--world''s
# most popular
-- open
- source database
"MySQL: The world's most popular; open source database"
"MySQL: The world's most popular ; open source database"
"MySQL: The world's most popular ;open source database"
echo message echo message
mysqltest: At line 1: Missing argument in exec
2010-01-20 12:51:18 +01:00
1
1
2
2
X
3
2005-07-15 17:51:43 +02:00
MySQL
"MySQL"
MySQL: The
world''s most
popular open
source database
# MySQL: The
# world''s most
# popular open
# source database
-- MySQL: The
-- world''s most
2006-10-03 15:33:44 +02:00
-- popular
-- open source database
2005-07-15 17:51:43 +02:00
# MySQL: The
- world''s most
-- popular open
# source database
2006-10-03 15:33:44 +02:00
'# MySQL: The
- world''s most
-- popular open
# source database'
"# MySQL: The
- world''s most
-- popular open
# source database"
2005-07-15 17:51:43 +02:00
hej
hej
hej
2005-09-01 10:53:33 +02:00
1
a long variable content
a long variable content
2006-10-03 15:33:44 +02:00
a long a long variable content variable content
a long \$where variable content
2005-09-01 10:53:33 +02:00
2006-10-03 15:33:44 +02:00
banana = banana
Not a banana: ba\$cat\$cat
2010-08-10 12:13:58 +02:00
with\`some"escaped\'quotes
with\`some"escaped\'quotes
single'tick`backtick
2005-07-15 17:51:43 +02:00
mysqltest: At line 1: Missing arguments to let
mysqltest: At line 1: Missing variable name in let
mysqltest: At line 1: Missing assignment operator in let
mysqltest: At line 1: Missing assignment operator in let
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: Missing assignment operator in let
mysqltest: At line 1: Missing variable name in let
2005-07-15 17:51:43 +02:00
mysqltest: At line 1: Missing variable name in let
mysqltest: At line 1: Missing assignment operator in let
2006-10-03 15:33:44 +02:00
# Execute: --echo # <whatever> success: $success
# <whatever> success: 1
# Execute: echo # <whatever> success: $success ;
# <whatever> success: 1
# The next two variants work fine and expand the content of $success
# Execute: --echo $success
1
# Execute: echo $success ;
1
2007-01-19 15:43:21 +01:00
# 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
2007-04-04 15:09:12 +02:00
var2: content of variable 1
var3: content of variable 1 content of variable 1
length of var3 is longer than 0
2007-08-06 11:20:36 +02:00
var1
hi 1 hi there
var2
2
var2 again
2
var3 two columns with same name
1 2 3
var4 from query that returns NULL
var5 from query that returns no row
failing query in let
2010-11-15 14:23:02 +01:00
create table t1 (a varchar(100));
insert into t1 values ('`select 42`');
`select 42`
2011-01-11 10:54:42 +01:00
insert into t1 values ('$dollar');
$dollar
`select 42`
2010-11-15 14:23:02 +01:00
drop table t1;
2011-12-12 23:58:40 +01:00
mysqltest: At line 1: query 'let $var2= `failing query`' failed: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'failing query' at line 1
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: Missing required argument 'filename' to command 'source'
2012-02-23 07:50:11 +01:00
mysqltest: At line 1: Could not open 'non_existingFile' for reading, errno: 2
2011-01-11 15:00:21 +01:00
mysqltest: In included file "MYSQLTEST_VARDIR/tmp/recursive.sql":
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
included from MYSQLTEST_VARDIR/tmp/recursive.sql at line 1:
2011-05-18 15:15:36 +02:00
included from <stdin> at line 1:
2011-01-11 15:00:21 +01:00
At line 1: Source directives are nesting too deep
2011-05-09 13:38:49 +02:00
garbage ;
2011-01-11 15:00:21 +01:00
mysqltest: In included file "MYSQLTEST_VARDIR/tmp/error.sql":
2011-05-18 15:15:36 +02:00
included from <stdin> at line 1:
2011-12-12 23:58:40 +01:00
At line 1: query 'garbage ' failed: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2005-08-16 17:10:52 +02:00
2 = outer loop variable after while
here is the sourced script
2 = outer loop variable before dec
1 = outer loop variable after dec
1 = outer loop variable after while
here is the sourced script
1 = outer loop variable before dec
0 = outer loop variable after dec
2009-09-02 11:17:33 +02:00
outer=2 ifval=0
outer=1 ifval=1
2005-08-16 17:10:52 +02:00
here is the sourced script
2009-10-08 11:30:03 +02:00
ERROR 42S02: Table 'test.nowhere' doesn't exist
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'else' at line 1
2005-08-16 17:10:52 +02:00
In loop
here is the sourced script
In loop
here is the sourced script
In loop
here is the sourced script
In loop
here is the sourced script
In loop
here is the sourced script
In loop
here is the sourced script
In loop
here is the sourced script
In loop
here is the sourced script
In loop
here is the sourced script
2007-06-19 11:06:02 +02:00
here is the sourced script
2007-08-13 15:46:11 +02:00
"hello"
"hello"
2010-02-09 18:13:57 +01:00
mysqltest: At line 2: Invalid argument to sleep "xyz"
mysqltest: At line 2: Invalid argument to real_sleep "xyz"
mysqltest: At line 1: Missing required argument 'sleep_delay' to command 'sleep'
mysqltest: At line 1: Missing required argument 'sleep_delay' to command 'real_sleep'
2005-07-15 17:51:43 +02:00
mysqltest: At line 1: Invalid argument to sleep "abc"
2006-02-28 22:08:16 +01:00
mysqltest: At line 1: Invalid argument to real_sleep "abc"
2005-07-15 17:51:43 +02:00
1
101
2010-09-27 14:36:16 +02:00
-99
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: Missing argument to inc
mysqltest: At line 1: The argument to inc must be a variable (start with $)
2010-09-27 14:36:16 +02:00
mysqltest: At line 1: Cannot perform inc/dec on a non-numeric value
2005-07-15 17:51:43 +02:00
mysqltest: At line 1: End of line junk detected: "1000"
2010-09-27 14:36:16 +02:00
mysqltest: At line 1: Cannot perform inc/dec on a non-numeric value
mysqltest: At line 1: Cannot perform inc/dec on a non-numeric value
-96
-96
2005-07-15 17:51:43 +02:00
-1
99
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: Missing argument to dec
mysqltest: At line 1: The argument to dec must be a variable (start with $)
2010-09-27 14:36:16 +02:00
mysqltest: At line 1: Cannot perform inc/dec on a non-numeric value
2005-07-15 17:51:43 +02:00
mysqltest: At line 1: End of line junk detected: "1000"
2010-09-27 14:36:16 +02:00
mysqltest: At line 1: Cannot perform inc/dec on a non-numeric value
mysqltest: At line 1: Cannot perform inc/dec on a non-numeric value
2005-07-15 17:51:43 +02:00
mysqltest: At line 1: Missing arguments to system, nothing to do!
mysqltest: At line 1: Missing arguments to system, nothing to do!
2006-10-03 15:33:44 +02:00
system command 'NonExistsinfComamdn 2> /dev/null' failed
2005-07-15 17:51:43 +02:00
test
test2
test3
test4
2010-01-20 14:18:27 +01:00
outer
true-inner
true-inner again
true-outer
2006-10-03 15:33:44 +02:00
Counter is greater than 0, (counter=10)
2010-11-17 16:05:52 +01:00
Counter should still be 10, is 10
2006-10-03 15:33:44 +02:00
Counter is not 0, (counter=0)
2010-11-17 16:05:52 +01:00
Not space var works
2010-08-03 16:11:23 +02:00
Counter is true, (counter=alpha)
2010-08-04 10:52:45 +02:00
while with string, only once
2010-11-10 09:42:14 +01:00
5<7
5<7 again
5<7 still
5<6
5>=5
5>=5 again
5>3
5==5
5!=8
5!=five
5==3+2
5 == 5
hello == hello
hello == hello
hello != goodbye
2010-11-26 10:57:01 +01:00
'quoted' == ''quoted''
2010-11-10 09:42:14 +01:00
two words
2010-11-26 10:57:01 +01:00
'two words'
"two words"
2010-11-10 09:42:14 +01:00
two words are two words
right answer
anything goes
0 != string
mysqltest: At line 2: Only == and != are supported for string values
mysqltest: At line 2: Found junk '~= 6' after $variable in condition
mysqltest: At line 2: Expression in if/while must beging with $, ` or a number
2010-12-09 12:15:25 +01:00
mysqltest: At line 1: Missing right operand in comparison
mysqltest: At line 1: Missing right operand in comparison
2010-11-10 09:42:14 +01:00
counter is 2
counter is 3
counter is 4
counter is 5
counter is 6
counter is 7
2005-07-15 17:51:43 +02:00
1
2006-10-03 15:33:44 +02:00
Testing while with not
2011-01-11 15:00:21 +01:00
mysqltest: In included file "MYSQLTEST_VARDIR/tmp/mysqltest_while.inc":
2011-05-18 15:15:36 +02:00
included from <stdin> at line 1:
2011-01-11 15:00:21 +01:00
At line 64: Nesting too deeply
2005-07-15 17:51:43 +02:00
mysqltest: At line 1: missing '(' in while
mysqltest: At line 1: missing ')' in while
mysqltest: At line 1: Missing '{' after while. Found "dec $i"
mysqltest: At line 1: Stray '}' - end of block before beginning
2005-08-31 17:16:05 +02:00
mysqltest: At line 1: Stray 'end' command - end of block before beginning
2011-05-09 13:38:49 +02:00
{;
2011-12-12 23:58:40 +01:00
mysqltest: At line 1: query '{' failed: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '{' at line 1
2005-07-15 17:51:43 +02:00
mysqltest: At line 1: Missing '{' after while. Found "echo hej"
mysqltest: At line 3: Missing end of block
2006-10-03 15:33:44 +02:00
mysqltest: At line 3: Missing end of block
2005-08-31 17:16:05 +02:00
mysqltest: At line 1: missing '(' in if
mysqltest: At line 1: Stray 'end' command - end of block before beginning
select "b" bs col1, "c" bs col2;
col1 col2
b c
seledt "b" bs dol1, "d" bs dol2;
dol1 dol2
b d
mysqltest: At line 1: Wrong number of arguments to replace_result in 'replace_result a'
mysqltest: At line 1: Wrong number of arguments to replace_result in 'replace_result a;'
mysqltest: At line 1: Wrong number of arguments to replace_result in 'replace_result a'
mysqltest: At line 1: Wrong number of arguments to replace_result in 'replace_result a '
2006-10-03 15:33:44 +02:00
OK
2005-08-31 17:16:05 +02:00
mysqltest: At line 1: Wrong number of arguments to replace_result in 'replace_result a b c'
mysqltest: At line 1: Wrong number of arguments to replace_result in 'replace_result a b c '
select "a" as col1, "c" as col2;
col1 col2
b c
select "a" as col1, "c" as col2;
col1 col2
b d
mysqltest: At line 1: Wrong column number to replace_column in 'replace_column a'
mysqltest: At line 1: Wrong number of arguments to replace_column in 'replace_column 1'
mysqltest: At line 1: Wrong column number to replace_column in 'replace_column a b'
mysqltest: At line 1: Wrong column number to replace_column in 'replace_column a 1'
mysqltest: At line 1: Wrong column number to replace_column in 'replace_column 1 b c '
2010-01-20 12:52:35 +01:00
select "LONG_STRING" as x;
x
LONG_STRING
2011-11-08 15:55:25 +01:00
dog
2005-08-31 17:16:05 +02:00
mysqltest: At line 1: Invalid integer argument "10!"
mysqltest: At line 1: Invalid integer argument "a"
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: Missing required argument 'connection name' to command 'connect'
mysqltest: At line 1: Missing required argument 'connection name' to command 'connect'
mysqltest: At line 1: Missing required argument 'host' to command 'connect'
mysqltest: At line 1: Missing required argument 'host' to command 'connect'
mysqltest: At line 1: query 'connect con2,localhost,root,,illegal_db' failed: 1049: Unknown database 'illegal_db'
mysqltest: At line 1: Illegal argument for port: 'illegal_port'
mysqltest: At line 1: Illegal option to connect: SMTP
2010-09-22 10:57:10 +02:00
200 connects succeeded
2011-01-11 15:00:21 +01:00
mysqltest: In included file "MYSQLTEST_VARDIR/tmp/mysqltest.sql":
2011-05-18 15:15:36 +02:00
included from <stdin> at line 1:
2011-01-11 15:00:21 +01:00
At line 3: connection 'test_con1' not found in connection pool
mysqltest: In included file "MYSQLTEST_VARDIR/tmp/mysqltest.sql":
2011-05-18 15:15:36 +02:00
included from <stdin> at line 1:
2011-01-11 15:00:21 +01:00
At line 2: Connection test_con1 already exists
2006-12-14 23:51:37 +01:00
show tables;
ERROR 3D000: No database selected
2010-09-22 10:57:10 +02:00
connect con1,localhost,root,,;
connection default;
connection con1;
disconnect con1;
connection default;
2005-09-20 14:11:58 +02:00
Output from mysqltest-x.inc
Output from mysqltest-x.inc
Output from mysqltest-x.inc
2008-08-04 12:38:50 +02:00
mysqltest: Could not open './non_existing_file.inc' for reading, errno: 2
2005-09-01 09:34:40 +02:00
failing_statement;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'failing_statement' at line 1
2005-09-01 09:34:40 +02:00
failing_statement;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'failing_statement' at line 1
2005-09-01 09:34:40 +02:00
SELECT 1 as a;
a
1
2006-10-03 15:33:44 +02:00
select 1 as `a'b`, 2 as `a"b`;
a'b a"b
1 2
select 'aaa\\','aa''a',"aa""a";
aaa\ aa'a aa"a
aaa\ aa'a aa"a
Here comes a message
--------------------
root@localhost
--------------
"Here comes a very very long message that
- is longer then 80 characters and
- consists of several lines"
--------------------------------------------------------------------------------
. Here comes a very very long message that
. - is longer then 80 characters and
. - consists of several lines
--------------------------------------------------------------------------------
this will be executed
this will be executed
mysqltest: The test didn't produce any output
Failing multi statement query
2011-05-09 13:38:49 +02:00
create table t1 (a int primary key);
insert into t1 values (1);
select 'select-me';
insertz 'error query'||||
2006-10-03 15:33:44 +02:00
mysqltest: At line 3: query 'create table t1 (a int primary key);
insert into t1 values (1);
select 'select-me';
2011-12-12 23:58:40 +01:00
insertz 'error query'' failed: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insertz 'error query'' at line 1
2006-10-03 15:33:44 +02:00
drop table t1;
mysqltest: At line 3: query 'create table t1 (a int primary key);
insert into t1 values (1);
select 'select-me';
2011-12-12 23:58:40 +01:00
insertz 'error query'' failed: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insertz 'error query'' at line 1
2006-10-03 15:33:44 +02:00
drop table t1;
Multi statement using expected error
create table t1 (a int primary key);
insert into t1 values (1);
select 'select-me';
insertz error query||||
select-me
select-me
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insertz error query' at line 1
2006-10-03 15:33:44 +02:00
drop table t1;
drop table t1;
sleep;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sleep' at line 1
2006-10-03 15:33:44 +02:00
sleep;
2011-12-12 23:58:40 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sleep' at line 1
2006-10-03 15:33:44 +02:00
;
ERROR 42000: Query was empty
select "b" as col1, "c" as col2;
col1 col2
b c
select "b" as col1, "b" as col2, "c" as col3;
col1 col2 col3
b b c
seled "b" bs col1, "d" bs col2;
col1 col2
b d
select "raspberry and strawberry","blackberry","tomato";
raspberry and strawberry blackberry tomato
raspberry and strawberry blackberry tomato
mysqltest: At line 1: Error parsing replace_regex "a"
mysqltest: At line 1: Error parsing replace_regex "a;"
mysqltest: At line 1: Error parsing replace_regex "a"
mysqltest: At line 1: Error parsing replace_regex "a "
mysqltest: At line 1: Error parsing replace_regex "a b"
mysqltest: At line 1: Error parsing replace_regex "/a b c"
mysqltest: At line 1: Error parsing replace_regex "/a /b c "
create table t1 (a int, b int);
insert into t1 values (1,3);
insert into t1 values (2,4);
select * from t1;
a D
1 1
1 4
drop table t1;
2011-11-08 15:55:25 +01:00
y
txt
b is b and more is more
txt
a is a and less is more
2014-08-04 21:19:24 +02:00
sflfdt 'ABCDfF bbddff h' bs txt;
txt
ABCDfF bbddff h
2011-10-19 09:23:52 +02:00
create table t2 ( a char(10));
garbage;
2012-01-16 20:16:35 +01:00
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'garbage' at line 1
2011-10-19 09:23:52 +02:00
garbage;
Got one of the listed errors
garbage;
Got one of the listed errors
insert into t1 values ("Abcd");
Got one of the listed errors
garbage;
2012-07-16 04:14:53 +02:00
SELECT * FROM non_existing_table;
2011-10-19 09:23:52 +02:00
drop table t2;
2010-01-06 09:47:25 +01:00
create table t1 ( f1 char(10));
insert into t1 values ("Abcd");
select * from t1;
f1
Abcd
select * from t2;;
ERROR 42S02: Table 'test.t2' doesn't exist
select * from t1;
f1
Abcd
select * from t1;;
Result coming up
f1
Abcd
select * from t1;;
f1
Abcd
select * from t1;;
2011-05-09 13:38:49 +02:00
mysqltest: At line 2: Cannot run query on connection between send and reap
2010-01-06 09:47:25 +01:00
drop table t1;
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: Missing required argument 'filename' to command 'remove_file'
2010-02-04 13:15:42 +01:00
mysqltest: At line 1: Missing required argument 'directory' to command 'remove_files_wildcard'
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: Missing required argument 'filename' to command 'write_file'
mysqltest: At line 1: End of file encountered before 'EOF' delimiter was found
2007-08-08 16:44:01 +02:00
Content for test_file1
2007-08-07 11:40:03 +02:00
mysqltest: At line 1: File already exist: 'MYSQLTEST_VARDIR/tmp/test_file1.tmp'
2009-09-02 11:17:33 +02:00
These lines should be repeated,
if things work as expected
These lines should be repeated,
if things work as expected
2007-02-19 18:19:47 +01:00
Some data
for cat_file command
of mysqltest
2011-02-20 17:51:43 +01:00
mysqltest: At line 1: command "cat_file" failed with error: 1 my_errno: 2 errno: 2
2006-10-03 15:33:44 +02:00
mysqltest: At line 1: Missing required argument 'filename' to command 'file_exists'
mysqltest: At line 1: Missing required argument 'from_file' to command 'copy_file'
mysqltest: At line 1: Missing required argument 'to_file' to command 'copy_file'
2009-05-27 22:54:40 +02:00
mysqltest: At line 1: Missing required argument 'from_file' to command 'move_file'
mysqltest: At line 1: Missing required argument 'to_file' to command 'move_file'
2006-11-29 23:02:06 +01:00
mysqltest: At line 1: Missing required argument 'mode' to command 'chmod'
mysqltest: At line 1: You must write a 4 digit octal number for mode
mysqltest: At line 1: You must write a 4 digit octal number for mode
2007-08-07 11:40:03 +02:00
mysqltest: At line 1: Missing required argument 'filename' to command 'chmod'
2006-11-30 10:54:50 +01:00
mysqltest: At line 1: You must write a 4 digit octal number for mode
2006-11-29 23:02:06 +01:00
mysqltest: At line 1: You must write a 4 digit octal number for mode
2006-10-03 15:33:44 +02:00
hello
hello
hello
mysqltest: At line 1: Max delimiter length(16) exceeded
hello
hello
2009-11-11 12:46:19 +01:00
val is 5
val is 5
2006-10-19 13:34:09 +02:00
mysqltest: At line 1: test of die
Some output
2007-04-05 20:12:56 +02:00
create table t1( a int, b char(255), c timestamp);
insert into t1 values(1, 'Line 1', '2007-04-05'), (2, "Part 2", '2007-04-05');
insert into t1 values(1, 'Line 1', '2007-04-05'), (2, "Part 3", '2007-04-05');
select * from t1;
a b c
1 Line 1 2007-04-05 00:00:00
2 Part 2 2007-04-05 00:00:00
1 Line 1 2007-04-05 00:00:00
2 Part 3 2007-04-05 00:00:00
select * from t1;
a b c
1 Line 1 2007-04-05 00:00:00
1 Line 1 2007-04-05 00:00:00
2 Part 2 2007-04-05 00:00:00
2 Part 3 2007-04-05 00:00:00
select * from t1;
2007-05-16 17:19:36 +02:00
a b c
1 Line 1 2007-04-05 00:00:00
2 Part 2 2007-04-05 00:00:00
1 Line 1 2007-04-05 00:00:00
2 Part 3 2007-04-05 00:00:00
select * from t1;
2007-04-10 17:33:04 +02:00
select '';
select "h";
h
h
select "he";
he
he
select "hep";
hep
hep
select "hepp";
hepp
hepp
2007-05-16 17:19:36 +02:00
drop table t1;
SELECT 2 as "my_col"
UNION
SELECT 1;
my_col
1
2
SELECT 2 as "my_col" UNION SELECT 1;
my_col
1
2
SELECT 2 as "my_col"
UNION
SELECT 1;
my_col
1
2
SELECT '2' as "3"
UNION
SELECT '1';
3
1
2
2007-05-18 12:50:23 +02:00
CREATE TABLE t1( a CHAR);
SELECT * FROM t1;
a
DROP TABLE t1;
SELECT NULL as "my_col1",2 AS "my_col2"
2007-05-16 17:19:36 +02:00
UNION
2007-05-18 12:50:23 +02:00
SELECT NULL,1;
my_col1 my_col2
NULL 2
NULL 1
SELECT NULL as "my_col1",2 AS "my_col2"
UNION
SELECT NULL,1;
my_col1 my_col2
NULL 1
NULL 2
SELECT 2 as "my_col1",NULL AS "my_col2"
UNION
SELECT 1,NULL;
my_col1 my_col2
2 NULL
1 NULL
SELECT 2 as "my_col1",NULL AS "my_col2"
UNION
SELECT 1,NULL;
my_col1 my_col2
1 NULL
2 NULL
SET @a = 17;
2007-05-16 17:19:36 +02:00
SELECT 2 as "my_col"
UNION
SELECT 1;
my_col
2
1
SELECT 2 as "my_col"
UNION
SELECT 1;
my_col
1
2
SELECT '2' as "my_col1",2 as "my_col2"
UNION
SELECT '1',1 from t2;
ERROR 42S02: Table 'test.t2' doesn't exist
2007-05-18 12:50:23 +02:00
SELECT '1' as "my_col1",2 as "my_col2"
UNION
SELECT '2',1;
my_col1 my_col2
# 1
# 2
CREATE TABLE t1 (f1 INT);
INSERT INTO t1 SET f1 = 1024;
INSERT INTO t1 SELECT f1 - 1 FROM t1;
INSERT INTO t1 SELECT f1 - 2 FROM t1;
INSERT INTO t1 SELECT f1 - 4 FROM t1;
INSERT INTO t1 SELECT f1 - 8 FROM t1;
INSERT INTO t1 SELECT f1 - 16 FROM t1;
INSERT INTO t1 SELECT f1 - 32 FROM t1;
INSERT INTO t1 SELECT f1 - 64 FROM t1;
INSERT INTO t1 SELECT f1 - 128 FROM t1;
INSERT INTO t1 SELECT f1 - 256 FROM t1;
INSERT INTO t1 SELECT f1 - 512 FROM t1;
SELECT * FROM t1;
DROP TABLE t1;
2010-01-06 09:42:21 +01:00
select "500g bl<62> b<EFBFBD> rsyltet<65> y" as "will be lower cased";
will be lower cased
500g bl<62> b<EFBFBD> rsyltet<65> y
SELECT "UPPER" AS "WILL NOT BE lower cased";
WILL NOT BE lower cased
UPPER
UP
SELECT 0 as "UP AGAIN";
UP AGAIN
0
select "abcdef" as "uvwxyz";
uvwxyz
abcdef
select "xyz" as name union select "abc" as name order by name desc;
name
abc
xyz
select 1 as "some new text";
some new text
1
select 0 as "will not lower case <20> <> <EFBFBD> ";
will not lower case <20> <> <EFBFBD>
0
2007-06-01 12:01:42 +02:00
CREATE TABLE t1(
a int, b varchar(255), c datetime
);
SHOW COLUMNS FROM t1;
Field Type Null Key Default Extra
a int(11) YES NULL
b varchar(255) YES NULL
c datetime YES NULL
statement=SHOW COLUMNS FROM t1 row_number=1, column_name="Type", Value=int(11)
statement="SHOW COLUMNS FROM t1" row_number=1, column_name="Type", Value=int(11)
statement=SHOW COLUMNS FROM t1 row_number=1, column_name=Default, Value=NULL
value= ->A B<-
value= 1
2009-05-25 17:19:20 +02:00
value= 2
2007-06-01 12:01:42 +02:00
mysqltest: At line 1: query_get_value - argument list started with '(' must be ended with ')'
mysqltest: At line 1: Missing required argument 'query' to command 'query_get_value'
mysqltest: At line 1: Missing required argument 'column name' to command 'query_get_value'
mysqltest: At line 1: Missing required argument 'row number' to command 'query_get_value'
value= No such row
value= No such row
mysqltest: At line 1: Invalid row number: 'notnumber'
mysqltest: At line 1: Could not find column 'column_not_exists' in the result of 'SHOW COLUMNS FROM t1'
mysqltest: At line 1: Query 'SET @A = 1' didn't return a result set
mysqltest: At line 1: Could not find column '1 AS B' in the result of 'SELECT 1 AS A'
value= No such row
2011-12-12 23:58:40 +01:00
mysqltest: At line 1: query 'let $value= query_get_value(SHOW COLNS FROM t1, Field, 1)' failed: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'COLNS FROM t1' at line 1
2007-06-01 12:01:42 +02:00
Field Type Null Key Default Extra
a int(11) YES -><- NULL
b varchar(255) YES -><- NULL
c datetime YES -><- NULL
Number of columns with Default NULL: 3
SHOW COLUMNS FROM t1;
Field Type Null Key Default Extra
a int(11) YES NULL
b varchar(255) YES NULL
c datetime YES NULL
drop table t1;
2013-01-25 00:17:39 +01:00
mysqltest: At line 1: query 'change_user root,,inexistent' failed: 1049: Unknown database 'inexistent'
mysqltest: At line 1: query 'change_user inexistent,,test' failed: 1045: Access denied for user 'inexistent'@'localhost' (using password: NO)
mysqltest: At line 1: query 'change_user root,inexistent,test' failed: 1045: Access denied for user 'root'@'localhost' (using password: YES)
2010-11-17 10:13:57 +01:00
REPLACED_FILE1.txt
2008-07-09 13:19:04 +02:00
file1.txt
file2.txt
2010-02-04 13:15:42 +01:00
file11.txt
dir-list.txt
2008-04-29 18:08:52 +02:00
SELECT 'c:\\a.txt' AS col;
col
z
2008-08-04 21:54:44 +02:00
select 1;
1
1
select 1;
1
1
-- a comment for the server;
mysqltest: At line 1: Found line beginning with -- that didn't contain a valid mysqltest command, check your syntax or use # if you intended to write a comment
2008-10-23 16:23:13 +02:00
con1
2009-03-06 15:56:17 +01:00
con2
2008-10-23 16:23:13 +02:00
default
con1
2009-03-06 15:56:17 +01:00
con2
2009-01-15 09:05:51 +01:00
con1
2009-03-06 15:56:17 +01:00
con2
con2
2009-01-15 09:05:51 +01:00
-closed_connection-
2006-10-03 15:33:44 +02:00
End of tests