mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			52 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# 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 #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;
 | 
						|
 |