title: Why unixODBC SQLTables is always returning an SQLRowCount of 4294967295?
body: <p>With the following code I always got that value on Oracle databases</p>
  
  <pre><code>SQLHSTMT hStmt = SQL_NULL_HANDLE;
  SQLRETURN sret;
  SQLLEN rowCount = 0;
  
  const SQLHDBC conn = this-&gt;getConnection();
  if (conn == NULL)
  {
      ret = false;
  }
  
  SQLAllocHandle(SQL_HANDLE_STMT, conn, &amp;hStmt);
  std::string metaTableName="meta_table";
  
  sret=SQLTables( hStmt,
             NULL, 0, /* no specific catalog */
             NULL, 0, /* no specific schema */
             (SQLCHAR *)metaTableName.c_str(), SQL_NTS,
             NULL, 0); /* no specific type - table or view */
  
  if ((sret != SQL_SUCCESS) &amp;&amp; (sret != SQL_SUCCESS_WITH_INFO))
  {
      std::cout &lt;&lt; "Problem retrieving " &lt;&lt; metaTableName &lt;&lt; " table from database!" &lt;&lt; std::endl);
      ret= false;
  }
  
  SQLRowCount(hStmt,&amp;rowCount);
  std::cout &lt;&lt;std::endl &lt;&lt; "Rows: " &lt;&lt;rowCount&lt;&lt;std::endl ;
  </code></pre>
  
  <p>No error messages so no apparent cause of this behaviour</p>
  
  <p>Using oracle libs:
  oracle-instantclient11.2-odbc-11.2.0.1.0-1.x86_64</p>
  
  <p>Any ideas about the reasons of such a behaviour?</p>