1
0
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:
Olivier Bertrand
2015-01-06 11:32:40 +01:00
parent afd373c119
commit d4bf64556e
2 changed files with 3 additions and 3 deletions

View File

@@ -2453,7 +2453,7 @@ PQRYRES ODBConn::AllocateResult(PGLOBAL g)
/***********************************************************************/
int ODBConn::Rewind(char *sql, ODBCCOL *tocols)
{
int rc, rbuf;
int rc, rbuf = -1;
if (!m_hstmt)
rbuf = -1;

View File

@@ -74,8 +74,8 @@ enum TABTYPE {TAB_UNDEF = 0, /* Table of undefined type */
TAB_PLG = 20, /* PLG NIY */
TAB_PIVOT = 21, /* PIVOT table */
TAB_VIR = 22, /* Virtual tables */
TAB_JSON = 23, /* JSON tables */
TAB_JSN = 24, /* Semi-json tables */
// TAB_JSON = 23, /* JSON tables */
// TAB_JSN = 24, /* Semi-json tables */
TAB_JCT = 25, /* Junction tables NIY */
TAB_DMY = 26, /* DMY Dummy tables NIY */
TAB_NIY = 27}; /* Table not implemented yet */