mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
- Typo to eliminate some GCC warnings
modified: storage/connect/odbconn.cpp storage/connect/plgdbsem.h
This commit is contained in:
@@ -2453,7 +2453,7 @@ PQRYRES ODBConn::AllocateResult(PGLOBAL g)
|
|||||||
/***********************************************************************/
|
/***********************************************************************/
|
||||||
int ODBConn::Rewind(char *sql, ODBCCOL *tocols)
|
int ODBConn::Rewind(char *sql, ODBCCOL *tocols)
|
||||||
{
|
{
|
||||||
int rc, rbuf;
|
int rc, rbuf = -1;
|
||||||
|
|
||||||
if (!m_hstmt)
|
if (!m_hstmt)
|
||||||
rbuf = -1;
|
rbuf = -1;
|
||||||
|
@@ -74,8 +74,8 @@ enum TABTYPE {TAB_UNDEF = 0, /* Table of undefined type */
|
|||||||
TAB_PLG = 20, /* PLG NIY */
|
TAB_PLG = 20, /* PLG NIY */
|
||||||
TAB_PIVOT = 21, /* PIVOT table */
|
TAB_PIVOT = 21, /* PIVOT table */
|
||||||
TAB_VIR = 22, /* Virtual tables */
|
TAB_VIR = 22, /* Virtual tables */
|
||||||
TAB_JSON = 23, /* JSON tables */
|
// TAB_JSON = 23, /* JSON tables */
|
||||||
TAB_JSN = 24, /* Semi-json tables */
|
// TAB_JSN = 24, /* Semi-json tables */
|
||||||
TAB_JCT = 25, /* Junction tables NIY */
|
TAB_JCT = 25, /* Junction tables NIY */
|
||||||
TAB_DMY = 26, /* DMY Dummy tables NIY */
|
TAB_DMY = 26, /* DMY Dummy tables NIY */
|
||||||
TAB_NIY = 27}; /* Table not implemented yet */
|
TAB_NIY = 27}; /* Table not implemented yet */
|
||||||
|
Reference in New Issue
Block a user