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 */