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
4105cbf4
Commit
4105cbf4
authored
Aug 08, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after-merge fixes for 10.0-connect
parent
28947589
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
storage/connect/filamfix.cpp
storage/connect/filamfix.cpp
+2
-2
storage/connect/filamtxt.cpp
storage/connect/filamtxt.cpp
+4
-4
storage/connect/mysql-test/connect/t/part_file.test
storage/connect/mysql-test/connect/t/part_file.test
+1
-1
No files found.
storage/connect/filamfix.cpp
View file @
4105cbf4
...
...
@@ -569,7 +569,7 @@ bool FIXFAM::MoveIntermediateLines(PGLOBAL g, bool *b)
/***********************************************************************/
bool
FIXFAM
::
MakeDeletedFile
(
PGLOBAL
g
)
{
char
*
crlf
=
"
\n
"
,
*
mode
=
UseTemp
?
"rb"
:
"r+b"
;
c
onst
c
har
*
crlf
=
"
\n
"
,
*
mode
=
UseTemp
?
"rb"
:
"r+b"
;
int
*
ix
,
i
;
bool
moved
;
...
...
@@ -1479,7 +1479,7 @@ bool BGXFAM::MoveIntermediateLines(PGLOBAL g, bool *b)
/***********************************************************************/
bool
BGXFAM
::
MakeDeletedFile
(
PGLOBAL
g
)
{
char
*
crlf
=
"
\n
"
,
*
mode
=
UseTemp
?
"rb"
:
"r+b"
;
c
onst
c
har
*
crlf
=
"
\n
"
,
*
mode
=
UseTemp
?
"rb"
:
"r+b"
;
int
*
ix
,
i
;
bool
moved
;
...
...
storage/connect/filamtxt.cpp
View file @
4105cbf4
...
...
@@ -475,7 +475,7 @@ bool DOSFAM::AllocateBuffer(PGLOBAL g)
MODE
mode
=
Tdbp
->
Mode
;
// Lrecl does not include line ending
Buflen
=
Lrecl
+
Ending
+
((
Bin
)
?
1
:
0
);
Buflen
=
Lrecl
+
Ending
+
((
Bin
)
?
1
:
0
)
+
1
;
if
(
trace
)
htrc
(
"SubAllocating a buffer of %d bytes
\n
"
,
Buflen
);
...
...
@@ -1010,7 +1010,7 @@ bool DOSFAM::MoveIntermediateLines(PGLOBAL g, bool *b)
/***********************************************************************/
bool
DOSFAM
::
MakeUpdatedFile
(
PGLOBAL
g
)
{
char
*
crlf
=
"
\n
"
,
*
mode
=
UseTemp
?
"rb"
:
"r+b"
;
c
onst
c
har
*
crlf
=
"
\n
"
,
*
mode
=
UseTemp
?
"rb"
:
"r+b"
;
int
*
ix
,
i
;
bool
moved
,
b
=
false
;
...
...
@@ -1084,7 +1084,7 @@ err:
/***********************************************************************/
bool
DOSFAM
::
MakeDeletedFile
(
PGLOBAL
g
)
{
char
*
crlf
=
"
\n
"
,
*
mode
=
UseTemp
?
"rb"
:
"r+b"
;
c
onst
c
har
*
crlf
=
"
\n
"
,
*
mode
=
UseTemp
?
"rb"
:
"r+b"
;
int
*
ix
,
i
;
bool
moved
;
...
...
@@ -1535,7 +1535,7 @@ int BLKFAM::WriteBuffer(PGLOBAL g)
/*******************************************************************/
/* Mode == MODE_UPDATE. */
/*******************************************************************/
char
*
crlf
;
c
onst
c
har
*
crlf
;
size_t
len
;
int
curpos
=
ftell
(
Stream
);
bool
moved
=
true
;
...
...
storage/connect/mysql-test/connect/t/part_file.test
View file @
4105cbf4
...
...
@@ -72,7 +72,7 @@ SHOW INDEX FROM t1;
# TODO: this fails on Linux
#SELECT * FROM dr1 ORDER BY fname, ftype;
INSERT
INTO
t1
(
id
,
msg
)
VALUES
(
4
,
'four'
);
SELECT
*
FROM
dr1
;
SELECT
*
FROM
dr1
ORDER
BY
fname
,
ftype
;
INSERT
INTO
t1
(
id
,
msg
)
VALUES
(
7
,
'seven'
),(
10
,
'ten'
),(
40
,
'forty'
),(
60
,
'sixty'
),(
81
,
'eighty one'
);
INSERT
INTO
t1
(
id
,
msg
)
VALUES
(
72
,
'seventy two'
),(
20
,
'twenty'
),(
1
,
'one'
),(
35
,
'thirty five'
),(
8
,
'eight'
);
SELECT
partition_name
,
table_rows
FROM
information_schema
.
partitions
WHERE
table_name
=
't1'
;
...
...
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