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
8f3fd98d
Commit
8f3fd98d
authored
Sep 20, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
connect fixes after-merge
disable Mongo in 10.0, compiler warnings.
parent
d3976cf7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
storage/connect/CMakeLists.txt
storage/connect/CMakeLists.txt
+1
-1
storage/connect/preparse.h
storage/connect/preparse.h
+1
-1
storage/connect/tabmysql.h
storage/connect/tabmysql.h
+1
-1
storage/connect/tabutil.cpp
storage/connect/tabutil.cpp
+2
-2
No files found.
storage/connect/CMakeLists.txt
View file @
8f3fd98d
...
...
@@ -247,7 +247,7 @@ ENDIF(CONNECT_WITH_ODBC)
#
# JDBC with MongoDB Java Driver included but disabled
#
OPTION
(
CONNECT_WITH_MONGO
"Compile CONNECT storage engine with MONGO support"
ON
)
#
OPTION(CONNECT_WITH_MONGO "Compile CONNECT storage engine with MONGO support" ON)
OPTION
(
CONNECT_WITH_JDBC
"Compile CONNECT storage engine with JDBC support"
ON
)
IF
(
CONNECT_WITH_JDBC
)
...
...
storage/connect/preparse.h
View file @
8f3fd98d
...
...
@@ -8,7 +8,7 @@
/***********************************************************************/
typedef
struct
_datpar
{
const
char
*
Format
;
// Points to format to decode
c
har
*
Curp
;
// Points to current parsing position
c
onst
char
*
Curp
;
// Points to current parsing position
char
*
InFmt
;
// Start of input format
char
*
OutFmt
;
// Start of output format
int
Index
[
8
];
// Indexes of date values
...
...
storage/connect/tabmysql.h
View file @
8f3fd98d
...
...
@@ -135,7 +135,7 @@ class TDBMYSQL : public TDBEXT {
int
m_Rc
;
// Return code from command
//int AftRows; // The number of affected rows
int
N
;
// The current table index
int
Port
;
// MySQL port number (0 = default)
unsigned
Port
;
// MySQL port number (0 = default)
//int Nparm; // The number of statement parameters
//int Quoted; // The identifier quoting level
};
// end of class TDBMYSQL
...
...
storage/connect/tabutil.cpp
View file @
8f3fd98d
...
...
@@ -120,7 +120,7 @@ PQRYRES TabColumns(PGLOBAL g, THD *thd, const char *db,
FLD_REM
,
FLD_NO
,
FLD_CHARSET
};
unsigned
int
length
[]
=
{
0
,
4
,
16
,
4
,
4
,
4
,
4
,
4
,
0
,
32
,
32
};
PCSZ
fmt
;
char
*
pn
,
*
tn
,
*
fld
,
*
colname
,
*
chset
,
v
;
char
*
pn
,
*
tn
,
*
fld
,
*
colname
,
v
;
//, *chset
;
int
i
,
n
,
ncol
=
sizeof
(
buftyp
)
/
sizeof
(
int
);
int
prec
,
len
,
type
,
scale
;
int
zconv
=
GetConvSize
();
...
...
@@ -185,7 +185,7 @@ PQRYRES TabColumns(PGLOBAL g, THD *thd, const char *db,
colname
=
(
char
*
)
fp
->
field_name
;
crp
->
Kdata
->
SetValue
(
colname
,
i
);
chset
=
(
char
*
)
fp
->
charset
()
->
name
;
//
chset = (char *)fp->charset()->name;
// v = (!strcmp(chset, "binary")) ? 'B' : 0;
v
=
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