You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ( PGRES_TUPLES_OK == PQresultStatus( result ) )
3018
3018
{
3019
-
Oid tableOid = PQftable( result, 0 );
3019
+
Oid tableoid = PQftable( result, 0 );
3020
3020
int column = PQftablecol( result, 0 );
3021
3021
3022
3022
result = connectionRO->PQexec( sql );
3023
-
if ( tableOid >=0 && PGRES_TUPLES_OK == PQresultStatus( result ) )
3023
+
if ( tableoid >0 && PGRES_TUPLES_OK == PQresultStatus( result ) )
3024
3024
{
3025
-
sql = QString( "SELECT pg_namespace.nspname,pg_class.relname FROM pg_class,pg_namespace WHERE pg_class.relnamespace=pg_namespace.oid AND pg_class.oid=%1" ).arg( tableOid );
3025
+
sql = QString( "SELECT pg_namespace.nspname,pg_class.relname FROM pg_class,pg_namespace WHERE pg_class.relnamespace=pg_namespace.oid AND pg_class.oid=%1" ).arg( tableoid );
3026
3026
result = connectionRO->PQexec( sql );
3027
3027
3028
3028
if ( PGRES_TUPLES_OK == PQresultStatus( result ) && 1 == PQntuples( result ) )
0 commit comments