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
d60ba54d
Commit
d60ba54d
authored
Oct 05, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved code out of DBUG_ASSERT
parent
250d643e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+6
-3
No files found.
sql/ha_ndbcluster.cc
View file @
d60ba54d
...
...
@@ -1206,7 +1206,8 @@ inline int ha_ndbcluster::next_result(byte *buf)
{
if
(
execute_commit
(
this
,
trans
)
!=
0
)
DBUG_RETURN
(
ndb_err
(
trans
));
DBUG_ASSERT
(
trans
->
restart
()
==
0
);
int
res
=
trans
->
restart
();
DBUG_ASSERT
(
res
==
0
);
}
ops_pending
=
0
;
}
...
...
@@ -1644,7 +1645,8 @@ int ha_ndbcluster::write_row(byte *record)
no_uncommitted_rows_execute_failure
();
DBUG_RETURN
(
ndb_err
(
trans
));
}
DBUG_ASSERT
(
trans
->
restart
()
==
0
);
int
res
=
trans
->
restart
();
DBUG_ASSERT
(
res
==
0
);
}
}
if
((
has_auto_increment
)
&&
(
skip_auto_increment
))
...
...
@@ -2281,7 +2283,8 @@ int ha_ndbcluster::rnd_init(bool scan)
{
if
(
!
scan
)
DBUG_RETURN
(
1
);
DBUG_ASSERT
(
cursor
->
restart
()
==
0
);
int
res
=
cursor
->
restart
();
DBUG_ASSERT
(
res
==
0
);
}
index_init
(
table
->
primary_key
);
DBUG_RETURN
(
0
);
...
...
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