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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e6c57151
Commit
e6c57151
authored
Jun 02, 2004
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge fixes
parent
70c2256d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
14 deletions
+10
-14
innobase/os/os0file.c
innobase/os/os0file.c
+8
-8
sql/ha_innodb.cc
sql/ha_innodb.cc
+2
-2
sql/sql_select.cc
sql/sql_select.cc
+0
-4
No files found.
innobase/os/os0file.c
View file @
e6c57151
...
...
@@ -539,7 +539,7 @@ os_file_opendir(
if
(
dir
==
INVALID_HANDLE_VALUE
)
{
if
(
error_is_fatal
)
{
os_file_handle_error
(
NULL
,
dirname
,
"opendir"
);
os_file_handle_error
(
dirname
,
"opendir"
);
}
return
(
NULL
);
...
...
@@ -550,7 +550,7 @@ os_file_opendir(
dir
=
opendir
(
dirname
);
if
(
dir
==
NULL
&&
error_is_fatal
)
{
os_file_handle_error
(
0
,
dirname
,
"opendir"
);
os_file_handle_error
(
dirname
,
"opendir"
);
}
return
(
dir
);
...
...
@@ -733,7 +733,7 @@ os_file_create_directory(
if
(
!
(
rcode
!=
0
||
(
GetLastError
()
==
ERROR_FILE_EXISTS
&&
!
fail_if_exists
)))
{
/* failure */
os_file_handle_error
(
N
ULL
,
pathname
,
"CreateDirectory"
);
os_file_handle_error
(
Npathname
,
"CreateDirectory"
);
return
(
FALSE
);
}
...
...
@@ -746,7 +746,7 @@ os_file_create_directory(
if
(
!
(
rcode
==
0
||
(
errno
==
EEXIST
&&
!
fail_if_exists
)))
{
/* failure */
os_file_handle_error
(
0
,
pathname
,
"mkdir"
);
os_file_handle_error
(
pathname
,
"mkdir"
);
return
(
FALSE
);
}
...
...
@@ -1274,7 +1274,7 @@ loop:
ret
=
unlink
((
const
char
*
)
name
);
if
(
ret
!=
0
&&
errno
!=
ENOENT
)
{
os_file_handle_error
(
0
,
name
,
"delete"
);
os_file_handle_error
(
name
,
"delete"
);
return
(
FALSE
);
}
...
...
@@ -1336,7 +1336,7 @@ loop:
ret
=
unlink
((
const
char
*
)
name
);
if
(
ret
!=
0
)
{
os_file_handle_error
(
0
,
name
,
"delete"
);
os_file_handle_error
(
name
,
"delete"
);
return
(
FALSE
);
}
...
...
@@ -1366,7 +1366,7 @@ os_file_rename(
return
(
TRUE
);
}
os_file_handle_error
(
NULL
,
oldpath
,
"rename"
);
os_file_handle_error
(
oldpath
,
"rename"
);
return
(
FALSE
);
#else
...
...
@@ -1375,7 +1375,7 @@ os_file_rename(
ret
=
rename
((
const
char
*
)
oldpath
,
(
const
char
*
)
newpath
);
if
(
ret
!=
0
)
{
os_file_handle_error
(
0
,
oldpath
,
"rename"
);
os_file_handle_error
(
oldpath
,
"rename"
);
return
(
FALSE
);
}
...
...
sql/ha_innodb.cc
View file @
e6c57151
...
...
@@ -4677,8 +4677,8 @@ ha_innobase::start_stmt(
ut_error
;
}
if
(
thd
->
lex
.
sql_command
==
SQLCOM_SELECT
&&
thd
->
lex
.
lock_option
==
TL_READ
)
{
if
(
thd
->
lex
->
sql_command
==
SQLCOM_SELECT
&&
thd
->
lex
->
lock_option
==
TL_READ
)
{
/* For other than temporary tables, we obtain
no lock for consistent read (plain SELECT) */
...
...
sql/sql_select.cc
View file @
e6c57151
...
...
@@ -6463,11 +6463,7 @@ end_send_group(JOIN *join, JOIN_TAB *join_tab __attribute__((unused)),
if
(
error
>
0
)
DBUG_RETURN
(
-
1
);
/* purecov: inspected */
if
(
end_of_records
)
{
if
(
!
error
)
join
->
send_records
++
;
DBUG_RETURN
(
0
);
}
if
(
join
->
send_records
>=
join
->
unit
->
select_limit_cnt
&&
join
->
do_send_rows
)
{
...
...
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