From d4bf64556ea8f8b5f4be052d683e87727aad872d Mon Sep 17 00:00:00 2001 From: Olivier Bertrand Date: Tue, 6 Jan 2015 11:32:40 +0100 Subject: [PATCH] - Typo to eliminate some GCC warnings modified: storage/connect/odbconn.cpp storage/connect/plgdbsem.h --- storage/connect/odbconn.cpp | 2 +- storage/connect/plgdbsem.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/storage/connect/odbconn.cpp b/storage/connect/odbconn.cpp index b9cf8054e3a..ec8be43b059 100644 --- a/storage/connect/odbconn.cpp +++ b/storage/connect/odbconn.cpp @@ -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; diff --git a/storage/connect/plgdbsem.h b/storage/connect/plgdbsem.h index b4af13c57cc..24090e98804 100644 --- a/storage/connect/plgdbsem.h +++ b/storage/connect/plgdbsem.h @@ -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 */