1
# Windows-specific tests
2
--source include/windows.inc
5
# Bug 9148: Denial of service
15
# Bug #12325: Can't create table named 'nu'
17
create table nu (a int);
21
# Bug17489: ailed to put data file in custom directory use "data directory" option
24
drop table if exists t1;
26
CREATE TABLE t1 ( `ID` int(6) ) data directory 'c:/tmp/' index directory 'c:/tmp/' engine=MyISAM;
32
# Bug #27811: The variable 'join_tab' is being used without being defined
34
CREATE TABLE t1 (a int, b int); INSERT INTO t1 VALUES (1,1);
35
EXPLAIN SELECT * FROM t1 WHERE b = (SELECT max(2));
39
# Bug #33813: Schema names are case-sensitive in DROP FUNCTION
42
CREATE DATABASE `TESTDB`;
47
CREATE FUNCTION test_fn() RETURNS INTEGER
54
CREATE FUNCTION test_fn2() RETURNS INTEGER
63
DROP FUNCTION `TESTDB`.`test_fn`;
64
DROP FUNCTION `testdb`.`test_fn2`;
67
DROP DATABASE `TESTDB`;
69
--echo End of 5.0 tests.
72
drop procedure if exists proc_1;
75
# Bug #20665: All commands supported in Stored Procedures should work in
79
create procedure proc_1() install plugin my_plug soname '\\root\\some_plugin.dll';
80
--error ER_UDF_NO_PATHS
82
--error ER_UDF_NO_PATHS
84
--error ER_UDF_NO_PATHS
86
drop procedure proc_1;
88
prepare abc from "install plugin my_plug soname '\\\\root\\\\some_plugin.dll'";
89
--error ER_UDF_NO_PATHS
91
--error ER_UDF_NO_PATHS
93
deallocate prepare abc;
96
--echo # Bug#45498: Socket variable not available on Windows
99
SELECT VARIABLE_NAME FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
100
WHERE VARIABLE_NAME = 'socket';