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
65f21e21
Commit
65f21e21
authored
May 25, 2006
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - compile fix for Solaris 10 AMD64 -max GCC [ ulonglong != Uint64 ] v5.1
parent
e929e28c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+4
-1
No files found.
sql/ha_ndbcluster.cc
View file @
65f21e21
...
@@ -3546,14 +3546,17 @@ void ha_ndbcluster::info(uint flag)
...
@@ -3546,14 +3546,17 @@ void ha_ndbcluster::info(uint flag)
Ndb
*
ndb
=
get_ndb
();
Ndb
*
ndb
=
get_ndb
();
Ndb_tuple_id_range_guard
g
(
m_share
);
Ndb_tuple_id_range_guard
g
(
m_share
);
Uint64
auto_increment_value64
;
if
(
ndb
->
readAutoIncrementValue
(
m_table
,
g
.
range
,
if
(
ndb
->
readAutoIncrementValue
(
m_table
,
g
.
range
,
auto_increment_value
)
==
-
1
)
auto_increment_value
64
)
==
-
1
)
{
{
const
NdbError
err
=
ndb
->
getNdbError
();
const
NdbError
err
=
ndb
->
getNdbError
();
sql_print_error
(
"Error %lu in readAutoIncrementValue(): %s"
,
sql_print_error
(
"Error %lu in readAutoIncrementValue(): %s"
,
(
ulong
)
err
.
code
,
err
.
message
);
(
ulong
)
err
.
code
,
err
.
message
);
auto_increment_value
=
~
(
Uint64
)
0
;
auto_increment_value
=
~
(
Uint64
)
0
;
}
}
else
auto_increment_value
=
(
ulonglong
)
auto_increment_value64
;
}
}
}
}
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
...
...
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