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
a3b9443d
Commit
a3b9443d
authored
Aug 30, 2001
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix problem with comments/blank lines in MERGE files.
Docs/manual.texi: Changelog
parent
8509f91c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
Docs/manual.texi
Docs/manual.texi
+3
-0
myisammrg/myrg_open.c
myisammrg/myrg_open.c
+7
-8
No files found.
Docs/manual.texi
View file @
a3b9443d
...
@@ -46712,6 +46712,9 @@ not yet 100% confident in this code.
...
@@ -46712,6 +46712,9 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.42
@appendixsubsec Changes in release 3.23.42
@itemize @bullet
@itemize @bullet
@item
@item
Fixes problem when one edited @code{.MRG} tables by hand.
(Patch from Benjamin Pflugmann).
@item
Enforce that all tables in a @code{MERGE} table come from the same
Enforce that all tables in a @code{MERGE} table come from the same
database.
database.
@item
@item
myisammrg/myrg_open.c
View file @
a3b9443d
...
@@ -65,7 +65,6 @@ int handle_locking)
...
@@ -65,7 +65,6 @@ int handle_locking)
end
[
-
1
]
=
'\0'
;
end
[
-
1
]
=
'\0'
;
if
(
buff
[
0
]
&&
buff
[
0
]
!=
'#'
)
/* Skipp empty lines and comments */
if
(
buff
[
0
]
&&
buff
[
0
]
!=
'#'
)
/* Skipp empty lines and comments */
{
{
last_isam
=
isam
;
if
(
!
test_if_hard_path
(
buff
))
if
(
!
test_if_hard_path
(
buff
))
{
{
VOID
(
strmake
(
name_buff
+
dir_length
,
buff
,
VOID
(
strmake
(
name_buff
+
dir_length
,
buff
,
...
@@ -75,14 +74,14 @@ int handle_locking)
...
@@ -75,14 +74,14 @@ int handle_locking)
if
(
!
(
isam
=
mi_open
(
buff
,
mode
,
test
(
handle_locking
))))
if
(
!
(
isam
=
mi_open
(
buff
,
mode
,
test
(
handle_locking
))))
goto
err
;
goto
err
;
files
++
;
files
++
;
last_isam
=
isam
;
if
(
info
.
reclength
&&
info
.
reclength
!=
isam
->
s
->
base
.
reclength
)
{
my_errno
=
HA_ERR_WRONG_IN_RECORD
;
goto
err
;
}
info
.
reclength
=
isam
->
s
->
base
.
reclength
;
}
}
last_isam
=
isam
;
if
(
info
.
reclength
&&
info
.
reclength
!=
isam
->
s
->
base
.
reclength
)
{
my_errno
=
HA_ERR_WRONG_IN_RECORD
;
goto
err
;
}
info
.
reclength
=
isam
->
s
->
base
.
reclength
;
}
}
if
(
!
(
m_info
=
(
MYRG_INFO
*
)
my_malloc
(
sizeof
(
MYRG_INFO
)
+
if
(
!
(
m_info
=
(
MYRG_INFO
*
)
my_malloc
(
sizeof
(
MYRG_INFO
)
+
files
*
sizeof
(
MYRG_TABLE
),
files
*
sizeof
(
MYRG_TABLE
),
...
...
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