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
5fad999f
Commit
5fad999f
authored
May 30, 2006
by
petr@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix windows build of CSV
parent
c9b63156
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
storage/csv/ha_tina.cc
storage/csv/ha_tina.cc
+4
-3
No files found.
storage/csv/ha_tina.cc
View file @
5fad999f
...
@@ -939,7 +939,7 @@ int ha_tina::write_row(byte * buf)
...
@@ -939,7 +939,7 @@ int ha_tina::write_row(byte * buf)
DBUG_RETURN
(
-
1
);
DBUG_RETURN
(
-
1
);
/* use pwrite, as concurrent reader could have changed the position */
/* use pwrite, as concurrent reader could have changed the position */
if
(
my_write
(
share
->
tina_write_filedes
,
buffer
.
ptr
(),
size
,
if
(
my_write
(
share
->
tina_write_filedes
,
(
byte
*
)
buffer
.
ptr
(),
size
,
MYF
(
MY_WME
|
MY_NABP
)))
MYF
(
MY_WME
|
MY_NABP
)))
DBUG_RETURN
(
-
1
);
DBUG_RETURN
(
-
1
);
...
@@ -1246,7 +1246,8 @@ int ha_tina::rnd_end()
...
@@ -1246,7 +1246,8 @@ int ha_tina::rnd_end()
/* if there is something to write, write it */
/* if there is something to write, write it */
if
((
write_end
-
write_begin
)
&&
if
((
write_end
-
write_begin
)
&&
(
my_write
(
update_temp_file
,
(
my_write
(
update_temp_file
,
file_buff
->
ptr
()
+
(
write_begin
-
file_buff
->
start
()),
(
byte
*
)(
file_buff
->
ptr
()
+
(
write_begin
-
file_buff
->
start
())),
write_end
-
write_begin
,
MYF_RW
)))
write_end
-
write_begin
,
MYF_RW
)))
goto
error
;
goto
error
;
...
@@ -1402,7 +1403,7 @@ int ha_tina::repair(THD* thd, HA_CHECK_OPT* check_opt)
...
@@ -1402,7 +1403,7 @@ int ha_tina::repair(THD* thd, HA_CHECK_OPT* check_opt)
{
{
write_end
=
min
(
file_buff
->
end
(),
current_position
);
write_end
=
min
(
file_buff
->
end
(),
current_position
);
if
((
write_end
-
write_begin
)
&&
if
((
write_end
-
write_begin
)
&&
(
my_write
(
repair_file
,
file_buff
->
ptr
(),
(
my_write
(
repair_file
,
(
byte
*
)
file_buff
->
ptr
(),
write_end
-
write_begin
,
MYF_RW
)))
write_end
-
write_begin
,
MYF_RW
)))
DBUG_RETURN
(
-
1
);
DBUG_RETURN
(
-
1
);
...
...
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