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
49fcba3b
Commit
49fcba3b
authored
Feb 18, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.0-xa
into serg.mylan:/usr/home/serg/Abk/mysql-5.0-xa
parents
61a88ff0
abdd5939
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+6
-4
No files found.
sql/ha_ndbcluster.cc
View file @
49fcba3b
...
...
@@ -59,7 +59,9 @@ static handlerton ndbcluster_hton = {
ndbcluster_commit
,
ndbcluster_rollback
,
NULL
,
/* prepare */
NULL
/* recover */
NULL
,
/* recover */
NULL
,
/* commit_by_xid */
NULL
/* rollback_by_xid */
};
#define NDB_HIDDEN_PRIMARY_KEY_LENGTH 8
...
...
@@ -298,7 +300,7 @@ set_thd_ndb(THD *thd, Thd_ndb *thd_ndb) { thd->ha_data[ndbcluster_hton.slot]= th
inline
Ndb
*
ha_ndbcluster
::
get_ndb
()
{
return
get_thd_ndb
(
table
->
in_use
)
->
ndb
;
return
get_thd_ndb
(
current_thd
)
->
ndb
;
}
/*
...
...
@@ -354,7 +356,7 @@ void ha_ndbcluster::no_uncommitted_rows_execute_failure()
if
(
m_ha_not_exact_count
)
return
;
DBUG_ENTER
(
"ha_ndbcluster::no_uncommitted_rows_execute_failure"
);
get_thd_ndb
(
table
->
in_use
)
->
error
=
1
;
get_thd_ndb
(
current_thd
)
->
error
=
1
;
DBUG_VOID_RETURN
;
}
...
...
@@ -793,7 +795,7 @@ bool ha_ndbcluster::uses_blob_value(bool all_fields)
{
uint
no_fields
=
table
->
s
->
fields
;
int
i
;
THD
*
thd
=
table
->
in_use
;
THD
*
thd
=
current_thd
;
// They always put blobs at the end..
for
(
i
=
no_fields
-
1
;
i
>=
0
;
i
--
)
{
...
...
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