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
5f2f3c4f
Commit
5f2f3c4f
authored
Feb 18, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
connect engine compiler warnings
parent
a4b27149
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
storage/connect/catalog.h
storage/connect/catalog.h
+3
-3
storage/connect/tabmysql.cpp
storage/connect/tabmysql.cpp
+1
-1
No files found.
storage/connect/catalog.h
View file @
5f2f3c4f
...
...
@@ -77,8 +77,8 @@ class DllExport CATALOG {
virtual
bool
ClearName
(
PGLOBAL
,
PSZ
)
{
return
true
;}
virtual
PRELDEF
MakeOneTableDesc
(
PGLOBAL
,
LPCSTR
,
LPCSTR
)
{
return
NULL
;}
virtual
PRELDEF
GetTableDescEx
(
PGLOBAL
,
PTABLE
)
{
return
NULL
;}
virtual
PRELDEF
GetTableDesc
(
PGLOBAL
,
LPCSTR
,
LPCSTR
,
PRELDEF
*
=
NULL
)
{
return
NULL
;}
/*
virtual PRELDEF GetTableDesc(PGLOBAL, LPCSTR, LPCSTR,
PRELDEF* = NULL) {return NULL;}
*/
virtual
PRELDEF
GetFirstTable
(
PGLOBAL
)
{
return
NULL
;}
virtual
PRELDEF
GetNextTable
(
PGLOBAL
)
{
return
NULL
;}
virtual
bool
TestCond
(
PGLOBAL
,
const
char
*
,
const
char
*
)
{
return
true
;}
...
...
@@ -95,7 +95,7 @@ class DllExport CATALOG {
protected:
virtual
bool
ClearSection
(
PGLOBAL
,
const
char
*
,
const
char
*
)
{
return
true
;}
virtual
PRELDEF
MakeTableDesc
(
PGLOBAL
,
LPCSTR
,
LPCSTR
)
{
return
NULL
;}
/*virtual PRELDEF MakeTableDesc(PGLOBAL, LPCSTR, LPCSTR) {return NULL;}*/
// Members
char
*
Cbuf
;
/* Buffer used for col section */
...
...
storage/connect/tabmysql.cpp
View file @
5f2f3c4f
...
...
@@ -334,7 +334,7 @@ bool MYSQLDEF::DefineAM(PGLOBAL g, LPCSTR am, int)
Delayed
=
!!
GetIntCatInfo
(
"Delayed"
,
0
);
}
else
{
// MYSQL access from a PROXY table
Database
=
GetStringCatInfo
(
g
,
"Database"
,
Schema
?
Schema
:
"*"
);
Database
=
GetStringCatInfo
(
g
,
"Database"
,
Schema
?
Schema
:
(
char
*
)
"*"
);
Isview
=
GetBoolCatInfo
(
"View"
,
false
);
// We must get other connection parms from the calling table
...
...
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