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
bb044466
Commit
bb044466
authored
Sep 03, 2004
by
tomas@poseidon.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
introduced my_init() in backwards compatible Ndb constructor
parent
6ae278a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ndb/src/ndbapi/Ndbinit.cpp
ndb/src/ndbapi/Ndbinit.cpp
+2
-0
No files found.
ndb/src/ndbapi/Ndbinit.cpp
View file @
bb044466
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
#include <ndb_global.h>
#include <ndb_global.h>
#include <my_sys.h>
#include "NdbApiSignal.hpp"
#include "NdbApiSignal.hpp"
#include "NdbImpl.hpp"
#include "NdbImpl.hpp"
...
@@ -61,6 +62,7 @@ Ndb::Ndb( const char* aDataBase , const char* aSchema) {
...
@@ -61,6 +62,7 @@ Ndb::Ndb( const char* aDataBase , const char* aSchema) {
if
(
global_ndb_cluster_connection
==
0
)
{
if
(
global_ndb_cluster_connection
==
0
)
{
if
(
theNoOfNdbObjects
>
0
)
if
(
theNoOfNdbObjects
>
0
)
abort
();
// old and new Ndb constructor used mixed
abort
();
// old and new Ndb constructor used mixed
my_init
();
global_ndb_cluster_connection
=
new
Ndb_cluster_connection
(
ndbConnectString
);
global_ndb_cluster_connection
=
new
Ndb_cluster_connection
(
ndbConnectString
);
global_ndb_cluster_connection
->
connect
();
global_ndb_cluster_connection
->
connect
();
}
}
...
...
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