mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / mysql-test / r / windows.result
blobd0cdd858d4aa377365c4ddde4bc465ca31003d0c
1 use lpt1;
2 ERROR 42000: Unknown database 'lpt1'
3 use com1;
4 ERROR 42000: Unknown database 'com1'
5 use prn;
6 ERROR 42000: Unknown database 'prn'
7 create table nu (a int);
8 drop table nu;
9 drop table if exists t1;
10 CREATE TABLE t1 ( `ID` int(6) ) data directory 'c:/tmp/' index directory 'c:/tmp/' engine=MyISAM;
11 Warnings:
12 Warning 1618    <DATA DIRECTORY> option ignored
13 Warning 1618    <INDEX DIRECTORY> option ignored
14 drop table t1;
15 CREATE TABLE t1 (a int, b int);
16 INSERT INTO t1 VALUES (1,1);
17 EXPLAIN SELECT * FROM t1 WHERE b =  (SELECT max(2));
18 id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
19 1       PRIMARY NULL    NULL    NULL    NULL    NULL    NULL    NULL    Impossible WHERE noticed after reading const tables
20 2       SUBQUERY        NULL    NULL    NULL    NULL    NULL    NULL    NULL    No tables used
21 DROP TABLE t1;
22 CREATE DATABASE `TESTDB`;
23 USE `TESTDB`;
24 CREATE FUNCTION test_fn() RETURNS INTEGER
25 BEGIN
26 DECLARE rId bigint;
27 RETURN rId;
28 END
30 CREATE FUNCTION test_fn2() RETURNS INTEGER
31 BEGIN
32 DECLARE rId bigint;
33 RETURN rId;
34 END
36 DROP FUNCTION `TESTDB`.`test_fn`;
37 DROP FUNCTION `testdb`.`test_fn2`;
38 USE test;
39 DROP DATABASE `TESTDB`;
40 End of 5.0 tests.
41 drop procedure if exists proc_1;
42 create procedure proc_1() install plugin my_plug soname '\\root\\some_plugin.dll';
43 call proc_1();
44 ERROR HY000: No paths allowed for shared library
45 call proc_1();
46 ERROR HY000: No paths allowed for shared library
47 call proc_1();
48 ERROR HY000: No paths allowed for shared library
49 drop procedure proc_1;
50 prepare abc from "install plugin my_plug soname '\\\\root\\\\some_plugin.dll'";
51 execute abc;
52 ERROR HY000: No paths allowed for shared library
53 execute abc;
54 ERROR HY000: No paths allowed for shared library
55 deallocate prepare abc;
57 # Bug#45498: Socket variable not available on Windows
59 SELECT VARIABLE_NAME FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
60 WHERE VARIABLE_NAME = 'socket';
61 VARIABLE_NAME
62 SOCKET