Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
85ecaa65
Commit
85ecaa65
authored
May 24, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/bkroot/mysql-4.1 into mysql.com:/home/bk/c4944-4.1
parents
2c032db5
8c95f6cf
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
42 additions
and
4 deletions
+42
-4
BitKeeper/etc/gone
BitKeeper/etc/gone
+1
-0
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
mysql-test/r/lowercase_table.result
mysql-test/r/lowercase_table.result
+6
-0
mysql-test/t/lowercase_table.test
mysql-test/t/lowercase_table.test
+11
-0
mysql-test/t/reserved_win_names-master.opt
mysql-test/t/reserved_win_names-master.opt
+0
-1
mysys/my_fopen.c
mysys/my_fopen.c
+16
-3
mysys/my_open.c
mysys/my_open.c
+7
-0
No files found.
BitKeeper/etc/gone
View file @
85ecaa65
...
...
@@ -750,6 +750,7 @@ mwagner@work.mysql.com|mysql-test/r/3.23/sel000001.result|20001010091454|28284|3
mwagner@work.mysql.com|mysql-test/r/3.23/sel000002.result|20001010091454|29230|d1787e6fd5dbc1cc
nick@nick.leippe.com|mysql-test/r/rpl_empty_master_crash.result|20020531235552|47718|615f521be2132141
nick@nick.leippe.com|mysql-test/t/rpl_empty_master_crash.test|20020531235552|52328|99464e737639ccc6
reggie@mdk10.(none)|mysql-test/t/reserved_win_names-master.opt|20050520210356|14878|e56da049a7ce9a5b
sasha@mysql.sashanet.com|BitKeeper/etc/logging_ok|20000801000905|12967|5b7d847a2158554
sasha@mysql.sashanet.com|build-tags|20011125054855|05181|7afb7e785b80f97
sasha@mysql.sashanet.com|build-tags|20011201050944|25384|b6f6fff142121618
...
...
BitKeeper/etc/logging_ok
View file @
85ecaa65
...
...
@@ -49,6 +49,7 @@ dlenev@mysql.com
ejonore@mc03.ndb.mysql.com
evgen@moonbone.(none)
evgen@moonbone.local
gbichot@bk-internal.mysql.com
gbichot@production.mysql.com
gbichot@quadita2.mysql.com
gbichot@quadxeon.mysql.com
...
...
mysql-test/r/lowercase_table.result
View file @
85ecaa65
...
...
@@ -83,3 +83,9 @@ create table t2 like T1;
drop table t1, t2;
show tables;
Tables_in_test
use lpt1;
ERROR 42000: Unknown database 'lpt1'
use com1;
ERROR 42000: Unknown database 'com1'
use prn;
ERROR 42000: Unknown database 'prn'
mysql-test/t/lowercase_table.test
View file @
85ecaa65
...
...
@@ -82,3 +82,14 @@ create table t2 like T1;
drop
table
t1
,
t2
;
show
tables
;
#
#Bug 9148: Denial of service
#
--
error
1049
use
lpt1
;
--
error
1049
use
com1
;
--
error
1049
use
prn
;
mysql-test/t/reserved_win_names-master.opt
deleted
100644 → 0
View file @
2c032db5
--lower_case_table_names=1
mysys/my_fopen.c
View file @
85ecaa65
...
...
@@ -33,9 +33,22 @@ FILE *my_fopen(const char *FileName, int Flags, myf MyFlags)
DBUG_ENTER
(
"my_fopen"
);
DBUG_PRINT
(
"my"
,(
"Name: '%s' Flags: %d MyFlags: %d"
,
FileName
,
Flags
,
MyFlags
));
/*
if we are not creating, then we need to use my_access to make sure
the file exists since Windows doesn't handle files like "com1.sym"
very well
*/
#ifdef __WIN__
if
(
!
(
Flags
&
O_CREAT
)
&&
my_access
(
FileName
,
F_OK
))
fd
=
0
;
else
#endif
{
make_ftype
(
type
,
Flags
);
if
((
fd
=
fopen
(
FileName
,
type
))
!=
0
)
fd
=
fopen
(
FileName
,
type
);
}
if
(
fd
!=
0
)
{
/*
The test works if MY_NFILE < 128. The problem is that fileno() is char
...
...
mysys/my_open.c
View file @
85ecaa65
...
...
@@ -46,6 +46,13 @@ File my_open(const char *FileName, int Flags, myf MyFlags)
DBUG_PRINT
(
"my"
,(
"Name: '%s' Flags: %d MyFlags: %d"
,
FileName
,
Flags
,
MyFlags
));
#if defined(MSDOS) || defined(__WIN__) || defined(__EMX__) || defined(OS2)
/*
if we are not creating, then we need to use my_access to make
sure the file exists since Windows doesn't handle files like
"com1.sym" very well
*/
if
(
!
(
Flags
&
O_CREAT
)
&&
my_access
(
FileName
,
F_OK
))
return
-
1
;
if
(
Flags
&
O_SHARE
)
fd
=
sopen
((
my_string
)
FileName
,
(
Flags
&
~
O_SHARE
)
|
O_BINARY
,
SH_DENYNO
,
MY_S_IREAD
|
MY_S_IWRITE
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment