mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
975815280a
FORCE_INIT_OF_VARS was not defined for the debug builds on Windows. This caused LINT_INIT macro to be defined as NOP and this triggers false alarms about use of uninitialized with the runtime libs of some Visual Studio versions. Fixed by defining FORCE_INIT_OF_VARS to match the state of the Windows
37 lines
748 B
Text
37 lines
748 B
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.
|