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
38c9c0d2
Commit
38c9c0d2
authored
Jul 18, 2017
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile warnings and errors for nullptr. Modified /storage/connect/tabjmg (cpp and h)
parent
f590296c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
storage/connect/tabjmg.cpp
storage/connect/tabjmg.cpp
+10
-0
storage/connect/tabjmg.h
storage/connect/tabjmg.h
+2
-3
No files found.
storage/connect/tabjmg.cpp
View file @
38c9c0d2
...
...
@@ -27,10 +27,20 @@
#include "mycat.h" // for FNC_COL
#include "filter.h"
#define nullptr 0
PQRYRES
MGOColumns
(
PGLOBAL
g
,
PCSZ
db
,
PCSZ
uri
,
PTOS
topt
,
bool
info
);
/* -------------------------- Class JMGDISC -------------------------- */
/***********************************************************************/
/* Constructor */
/***********************************************************************/
JMGDISC
::
JMGDISC
(
PGLOBAL
g
,
int
*
lg
)
:
MGODISC
(
g
,
lg
)
{
drv
=
"Java"
;
Jcp
=
NULL
;
columnid
=
nullptr
;
}
// end of JMGDISC constructor
/***********************************************************************/
/* Initialyze. */
/***********************************************************************/
...
...
storage/connect/tabjmg.h
View file @
38c9c0d2
/**************** tabjmg H Declares Source Code File (.H) **************/
/* Name: tabjmg.h Version 1.
0
*/
/* Name: tabjmg.h Version 1.
1
*/
/* */
/* (C) Copyright to the author Olivier BERTRAND 2017 */
/* */
...
...
@@ -15,8 +15,7 @@
class
JMGDISC
:
public
MGODISC
{
public:
// Constructor
JMGDISC
(
PGLOBAL
g
,
int
*
lg
)
:
MGODISC
(
g
,
lg
)
{
drv
=
"Java"
;
Jcp
=
NULL
;
columnid
=
nullptr
;
}
JMGDISC
(
PGLOBAL
g
,
int
*
lg
);
// Methods
virtual
bool
Init
(
PGLOBAL
g
);
...
...
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