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
bffe8fb2
Commit
bffe8fb2
authored
Nov 11, 2005
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - 5.1.2 build fix: array initializer crashes gcc-2.95.3
parent
65bea6b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
16 deletions
+19
-16
storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
+19
-16
No files found.
storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
View file @
bffe8fb2
...
@@ -113,22 +113,25 @@ Dbtup::setUpQueryRoutines(Tablerec* const regTabPtr)
...
@@ -113,22 +113,25 @@ Dbtup::setUpQueryRoutines(Tablerec* const regTabPtr)
}
}
if
(
AttributeDescriptor
::
getDiskBased
(
attrDescr
))
if
(
AttributeDescriptor
::
getDiskBased
(
attrDescr
))
{
{
ReadFunction
r
[]
=
{
// array initializer crashes gcc-2.95.3
&
Dbtup
::
readDiskBitsNotNULL
,
ReadFunction
r
[
6
];
&
Dbtup
::
readDiskBitsNULLable
,
{
&
Dbtup
::
readDiskFixedSizeNotNULL
,
r
[
0
]
=
&
Dbtup
::
readDiskBitsNotNULL
;
&
Dbtup
::
readDiskFixedSizeNULLable
,
r
[
1
]
=
&
Dbtup
::
readDiskBitsNULLable
;
&
Dbtup
::
readDiskVarSizeNULLable
,
r
[
2
]
=
&
Dbtup
::
readDiskFixedSizeNotNULL
;
&
Dbtup
::
readDiskVarSizeNotNULL
r
[
3
]
=
&
Dbtup
::
readDiskFixedSizeNULLable
;
};
r
[
4
]
=
&
Dbtup
::
readDiskVarSizeNULLable
;
UpdateFunction
u
[]
=
{
r
[
5
]
=
&
Dbtup
::
readDiskVarSizeNotNULL
;
&
Dbtup
::
updateDiskBitsNotNULL
,
}
&
Dbtup
::
updateDiskBitsNULLable
,
UpdateFunction
u
[
6
];
&
Dbtup
::
updateDiskFixedSizeNotNULL
,
{
&
Dbtup
::
updateDiskFixedSizeNULLable
,
u
[
0
]
=
&
Dbtup
::
updateDiskBitsNotNULL
;
&
Dbtup
::
updateDiskVarSizeNULLable
,
u
[
1
]
=
&
Dbtup
::
updateDiskBitsNULLable
;
&
Dbtup
::
updateDiskVarSizeNotNULL
u
[
2
]
=
&
Dbtup
::
updateDiskFixedSizeNotNULL
;
};
u
[
3
]
=
&
Dbtup
::
updateDiskFixedSizeNULLable
;
u
[
4
]
=
&
Dbtup
::
updateDiskVarSizeNULLable
;
u
[
5
]
=
&
Dbtup
::
updateDiskVarSizeNotNULL
;
}
Uint32
a
=
Uint32
a
=
AttributeDescriptor
::
getArrayType
(
attrDescr
)
==
NDB_ARRAYTYPE_FIXED
?
2
:
4
;
AttributeDescriptor
::
getArrayType
(
attrDescr
)
==
NDB_ARRAYTYPE_FIXED
?
2
:
4
;
...
...
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