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
537af124
Commit
537af124
authored
Apr 11, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct merge error
parent
deec4449
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+5
-11
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
+1
-1
No files found.
sql/ha_ndbcluster.cc
View file @
537af124
...
@@ -881,6 +881,7 @@ int get_ndb_blobs_value(TABLE* table, NdbValue* value_array,
...
@@ -881,6 +881,7 @@ int get_ndb_blobs_value(TABLE* table, NdbValue* value_array,
sql_print_error
(
"ha_ndbcluster::get_ndb_blobs_value: "
sql_print_error
(
"ha_ndbcluster::get_ndb_blobs_value: "
"my_malloc(%u) failed"
,
offset
);
"my_malloc(%u) failed"
,
offset
);
DBUG_RETURN
(
-
1
);
DBUG_RETURN
(
-
1
);
}
buffer_size
=
offset
;
buffer_size
=
offset
;
}
}
}
}
...
@@ -8739,12 +8740,6 @@ pthread_handler_t ndb_util_thread_func(void *arg __attribute__((unused)))
...
@@ -8739,12 +8740,6 @@ pthread_handler_t ndb_util_thread_func(void *arg __attribute__((unused)))
DBUG_RETURN
(
NULL
);
DBUG_RETURN
(
NULL
);
}
}
THD_CHECK_SENTRY
(
thd
);
THD_CHECK_SENTRY
(
thd
);
if
(
ndb
==
NULL
)
{
thd
->
cleanup
();
delete
thd
;
DBUG_RETURN
(
NULL
);
}
pthread_detach_this_thread
();
pthread_detach_this_thread
();
ndb_util_thread
=
pthread_self
();
ndb_util_thread
=
pthread_self
();
...
@@ -8917,14 +8912,13 @@ pthread_handler_t ndb_util_thread_func(void *arg __attribute__((unused)))
...
@@ -8917,14 +8912,13 @@ pthread_handler_t ndb_util_thread_func(void *arg __attribute__((unused)))
pthread_mutex_lock
(
&
share
->
mutex
);
pthread_mutex_lock
(
&
share
->
mutex
);
lock
=
share
->
commit_count_lock
;
lock
=
share
->
commit_count_lock
;
pthread_mutex_unlock
(
&
share
->
mutex
);
pthread_mutex_unlock
(
&
share
->
mutex
);
if
(
ndb
->
setDatabaseName
(
db
))
{
goto
loop_next
;
}
{
{
/* Contact NDB to get commit count for table */
/* Contact NDB to get commit count for table */
Ndb
*
ndb
=
thd_ndb
->
ndb
;
Ndb
*
ndb
=
thd_ndb
->
ndb
;
ndb
->
setDatabaseName
(
share
->
db
);
if
(
ndb
->
setDatabaseName
(
share
->
db
))
{
goto
loop_next
;
}
Ndb_table_guard
ndbtab_g
(
ndb
->
getDictionary
(),
share
->
table_name
);
Ndb_table_guard
ndbtab_g
(
ndb
->
getDictionary
(),
share
->
table_name
);
if
(
ndbtab_g
.
get_table
()
&&
if
(
ndbtab_g
.
get_table
()
&&
ndb_get_table_statistics
(
NULL
,
FALSE
,
ndb
,
ndb_get_table_statistics
(
NULL
,
FALSE
,
ndb
,
...
...
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
View file @
537af124
...
@@ -1275,7 +1275,7 @@ NdbEventImpl::~NdbEventImpl()
...
@@ -1275,7 +1275,7 @@ NdbEventImpl::~NdbEventImpl()
int
NdbEventImpl
::
setName
(
const
char
*
name
)
int
NdbEventImpl
::
setName
(
const
char
*
name
)
{
{
!
m_name
.
assign
(
name
);
return
!
m_name
.
assign
(
name
);
}
}
const
char
*
NdbEventImpl
::
getName
()
const
const
char
*
NdbEventImpl
::
getName
()
const
...
...
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