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
Hide 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)
}
if
(
AttributeDescriptor
::
getDiskBased
(
attrDescr
))
{
ReadFunction
r
[]
=
{
&
Dbtup
::
readDiskBitsNotNULL
,
&
Dbtup
::
readDiskBitsNULLable
,
&
Dbtup
::
readDiskFixedSizeNotNULL
,
&
Dbtup
::
readDiskFixedSizeNULLable
,
&
Dbtup
::
readDiskVarSizeNULLable
,
&
Dbtup
::
readDiskVarSizeNotNULL
};
UpdateFunction
u
[]
=
{
&
Dbtup
::
updateDiskBitsNotNULL
,
&
Dbtup
::
updateDiskBitsNULLable
,
&
Dbtup
::
updateDiskFixedSizeNotNULL
,
&
Dbtup
::
updateDiskFixedSizeNULLable
,
&
Dbtup
::
updateDiskVarSizeNULLable
,
&
Dbtup
::
updateDiskVarSizeNotNULL
};
// array initializer crashes gcc-2.95.3
ReadFunction
r
[
6
];
{
r
[
0
]
=
&
Dbtup
::
readDiskBitsNotNULL
;
r
[
1
]
=
&
Dbtup
::
readDiskBitsNULLable
;
r
[
2
]
=
&
Dbtup
::
readDiskFixedSizeNotNULL
;
r
[
3
]
=
&
Dbtup
::
readDiskFixedSizeNULLable
;
r
[
4
]
=
&
Dbtup
::
readDiskVarSizeNULLable
;
r
[
5
]
=
&
Dbtup
::
readDiskVarSizeNotNULL
;
}
UpdateFunction
u
[
6
];
{
u
[
0
]
=
&
Dbtup
::
updateDiskBitsNotNULL
;
u
[
1
]
=
&
Dbtup
::
updateDiskBitsNULLable
;
u
[
2
]
=
&
Dbtup
::
updateDiskFixedSizeNotNULL
;
u
[
3
]
=
&
Dbtup
::
updateDiskFixedSizeNULLable
;
u
[
4
]
=
&
Dbtup
::
updateDiskVarSizeNULLable
;
u
[
5
]
=
&
Dbtup
::
updateDiskVarSizeNotNULL
;
}
Uint32
a
=
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