mariadb/VC++Files
unknown c1ae672add BUG# 9148: Denial of service
The problem was that on Windows the access method indicates that access to file 
such as "com1" and "lpt1" is allowed (since they are device names) and
this causes mysql to attempt to open them as databases or tables.

The fix was to write our own my_access method that uses other Win32 functions
to determine if the given argument is indeed a file and has to requested
mode.


VC++Files/mysys/mysys.dsp:
  added my_access
VC++Files/mysys/mysys_ia64.dsp:
  added my_access.c
include/my_sys.h:
  if on windows, we use my_access.
  if not on windows, then my_access points to the native access method
mysys/Makefile.am:
  added my_access to mysys build file
mysys/mf_pack.c:
  changed call to access to my_access
sql/sql_db.cc:
  changed call to access to my_access
2005-05-20 16:04:10 -05:00
..
bdb Merge with 4.0 to get fixes for Windows project files 2004-05-25 02:47:25 +03:00
client Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
comp_err Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
contrib LOAD DATA INFILE is not replicated if replicate_*_table is set 2003-02-28 22:24:00 +02:00
dbug New Project files for Windows Ithanium 64-bit builds 2005-03-06 14:22:28 +01:00
examples/udf_example BUG#3439 problem with UDF functions 2004-06-08 12:35:22 +06:00
heap New Project files for Windows Ithanium 64-bit builds 2005-03-06 14:22:28 +01:00
innobase New Project files for Windows Ithanium 64-bit builds 2005-03-06 14:22:28 +01:00
isam New Project files for Windows Ithanium 64-bit builds 2005-03-06 14:22:28 +01:00
isamchk Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
libmysql Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
libmysqld Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
libmysqltest Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
merge New Project files for Windows Ithanium 64-bit builds 2005-03-06 14:22:28 +01:00
my_print_defaults Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
myisam New Project files for Windows Ithanium 64-bit builds 2005-03-06 14:22:28 +01:00
myisam_ftdump Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
myisamchk Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
myisamlog Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
myisammrg New Project files for Windows Ithanium 64-bit builds 2005-03-06 14:22:28 +01:00
myisampack Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
mysql-test Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
mysqlbinlog Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
mysqlcheck Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
mysqldemb New Project files for Windows Ithanium 64-bit builds 2005-03-06 14:22:28 +01:00
mysqlmanager Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
mysqlserver New Project files for Windows Ithanium 64-bit builds 2005-03-06 14:22:28 +01:00
mysqlshutdown Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
mysqlwatch Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
mysys BUG# 9148: Denial of service 2005-05-20 16:04:10 -05:00
pack_isam Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
perror Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
regex New Project files for Windows Ithanium 64-bit builds 2005-03-06 14:22:28 +01:00
replace Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
sql Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
strings Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
test1 Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
tests Correct "make_win_src_distribution" to not introduce additional directory layers, 2005-03-10 21:13:46 +01:00
thr_insert_test LOAD DATA INFILE is not replicated if replicate_*_table is set 2003-02-28 22:24:00 +02:00
thr_test Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
vio New Project files for Windows Ithanium 64-bit builds 2005-03-06 14:22:28 +01:00
winmysqladmin mysql_com.h: 2004-08-19 15:15:52 +02:00
zlib New Project files for Windows Ithanium 64-bit builds 2005-03-06 14:22:28 +01:00
copy_mysql_files.bat Fixed VC++ project files 2004-05-25 15:53:29 +03:00
fix-project-files Portability fixes to be able to compile MySQL with VC++ 2002-10-08 22:28:24 +03:00
mysql.dsp LOAD DATA INFILE is not replicated if replicate_*_table is set 2003-02-28 22:24:00 +02:00
mysql.dsw WL#964 2005-02-02 19:53:49 +05:00
mysql_ia64.dsw Various fixes for Windows 2003 Platform SDK SP1 beta 2005-03-07 13:04:05 +01:00
prepare additions for compiling for Win via samba 2002-10-08 16:55:39 +05:00
README.build-files Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt' 2004-05-19 16:38:12 +03:00

Some notes about building MySQL with VC++

- After bulding all projects, you get the files in the following directories:

Directory		Content

lib_debug		Debug libraries
lib_release		Release libraries
lib_classic		Embedded server libraries for classic
lib_pro			Embedded server libraries for pro
client_debug		Debug executables
client_release		Client release
client_classic		Commerical binaries (classic)
client_pro		Commerical binaries (unique for pro version)
include			Include files

The copy_mysql_files.bat script can be used to copy the generated
files to c:\mysql