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
1dba0d70
Commit
1dba0d70
authored
Aug 30, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix problem with comments/blank lines in MERGE files.
parent
029a4412
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 @
1dba0d70
...
...
@@ -46712,6 +46712,9 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.42
@itemize @bullet
@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
database.
@item
myisammrg/myrg_open.c
View file @
1dba0d70
...
...
@@ -65,7 +65,6 @@ int handle_locking)
end
[
-
1
]
=
'\0'
;
if
(
buff
[
0
]
&&
buff
[
0
]
!=
'#'
)
/* Skipp empty lines and comments */
{
last_isam
=
isam
;
if
(
!
test_if_hard_path
(
buff
))
{
VOID
(
strmake
(
name_buff
+
dir_length
,
buff
,
...
...
@@ -75,14 +74,14 @@ int handle_locking)
if
(
!
(
isam
=
mi_open
(
buff
,
mode
,
test
(
handle_locking
))))
goto
err
;
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
)
+
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