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
d0a3ce5d
Commit
d0a3ce5d
authored
Mar 24, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- corrected bug causing hang in getTable when using blob tables
- make sure cluster/schema table is always created first
parent
8eab1ba0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
sql/ha_ndbcluster_binlog.cc
sql/ha_ndbcluster_binlog.cc
+9
-6
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
+1
-1
No files found.
sql/ha_ndbcluster_binlog.cc
View file @
d0a3ce5d
...
@@ -765,25 +765,28 @@ static int ndbcluster_create_schema_table(THD *thd)
...
@@ -765,25 +765,28 @@ static int ndbcluster_create_schema_table(THD *thd)
void
ndbcluster_setup_binlog_table_shares
(
THD
*
thd
)
void
ndbcluster_setup_binlog_table_shares
(
THD
*
thd
)
{
{
int
done_find_all_files
=
0
;
int
done_find_all_files
=
0
;
if
(
!
apply_status
_share
&&
if
(
!
schema
_share
&&
ndbcluster_check_
apply_status
_share
()
==
0
)
ndbcluster_check_
schema
_share
()
==
0
)
{
{
if
(
!
done_find_all_files
)
if
(
!
done_find_all_files
)
{
{
ndbcluster_find_all_files
(
thd
);
ndbcluster_find_all_files
(
thd
);
done_find_all_files
=
1
;
done_find_all_files
=
1
;
}
}
ndbcluster_create_apply_status_table
(
thd
);
ndbcluster_create_schema_table
(
thd
);
// always make sure we create the 'schema' first
if
(
!
schema_share
)
return
;
}
}
if
(
!
schema
_share
&&
if
(
!
apply_status
_share
&&
ndbcluster_check_
schema
_share
()
==
0
)
ndbcluster_check_
apply_status
_share
()
==
0
)
{
{
if
(
!
done_find_all_files
)
if
(
!
done_find_all_files
)
{
{
ndbcluster_find_all_files
(
thd
);
ndbcluster_find_all_files
(
thd
);
done_find_all_files
=
1
;
done_find_all_files
=
1
;
}
}
ndbcluster_create_
schema
_table
(
thd
);
ndbcluster_create_
apply_status
_table
(
thd
);
}
}
}
}
...
...
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
View file @
d0a3ce5d
...
@@ -1303,7 +1303,7 @@ NdbDictionaryImpl::fetchGlobalTableImpl(const BaseString& internalTableName)
...
@@ -1303,7 +1303,7 @@ NdbDictionaryImpl::fetchGlobalTableImpl(const BaseString& internalTableName)
int
ret
=
getBlobTables
(
*
impl
);
int
ret
=
getBlobTables
(
*
impl
);
if
(
ret
!=
0
)
{
if
(
ret
!=
0
)
{
delete
impl
;
delete
impl
;
return
0
;
impl
=
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