mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
e43d5bd28b
into mysql.com:/d2/hf/mrg/mysql-5.1-opt BitKeeper/deleted/.del-CMakeLists.txt~1: Auto merged mysql-test/r/type_datetime.result: Auto merged mysql-test/r/windows.result: Auto merged mysql-test/t/windows.test: Auto merged sql/field.cc: Auto merged sql/field.h: Auto merged sql/item.cc: Auto merged sql/item.h: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_subselect.h: Auto merged sql/item_sum.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_yacc.yy: Auto merged storage/innobase/handler/ha_innodb.cc: Auto merged tests/mysql_client_test.c: Auto merged mysql-test/include/mix1.inc: merging mysql-test/r/innodb_mysql.result: merging
59 lines
1.2 KiB
Text
59 lines
1.2 KiB
Text
# Windows-specific tests
|
|
--source include/windows.inc
|
|
|
|
#
|
|
# Bug 9148: Denial of service
|
|
#
|
|
--error 1049
|
|
use lpt1;
|
|
--error 1049
|
|
use com1;
|
|
--error 1049
|
|
use prn;
|
|
|
|
#
|
|
# Bug #12325: Can't create table named 'nu'
|
|
#
|
|
create table nu (a int);
|
|
drop table nu;
|
|
|
|
#
|
|
# Bug17489: ailed to put data file in custom directory use "data directory" option
|
|
#
|
|
--disable_warnings
|
|
drop table if exists t1;
|
|
--enable_warnings
|
|
CREATE TABLE t1 ( `ID` int(6) ) data directory 'c:/tmp/' index directory 'c:/tmp/' engine=MyISAM;
|
|
drop table t1;
|
|
|
|
# End of 4.1 tests
|
|
|
|
#
|
|
# Bug #27811: The variable 'join_tab' is being used without being defined
|
|
#
|
|
CREATE TABLE t1 (a int, b int); INSERT INTO t1 VALUES (1,1);
|
|
EXPLAIN SELECT * FROM t1 WHERE b = (SELECT max(2));
|
|
|
|
--echo End of 5.0 tests.
|
|
|
|
#
|
|
# Bug #20665: All commands supported in Stored Procedures should work in
|
|
# Prepared Statements
|
|
#
|
|
|
|
create procedure proc_1() install plugin my_plug soname '\\root\\some_plugin.dll';
|
|
--error ER_UDF_NO_PATHS
|
|
call proc_1();
|
|
--error ER_UDF_NO_PATHS
|
|
call proc_1();
|
|
--error ER_UDF_NO_PATHS
|
|
call proc_1();
|
|
drop procedure proc_1;
|
|
|
|
prepare abc from "install plugin my_plug soname '\\\\root\\\\some_plugin.dll'";
|
|
--error ER_UDF_NO_PATHS
|
|
execute abc;
|
|
--error ER_UDF_NO_PATHS
|
|
execute abc;
|
|
deallocate prepare abc;
|
|
|