From: Carlos G.A. <car...@ho...> - 2002-08-09 15:34:07
|
Hello: Little modifications for the implementation of SQLTablePrivileges: IscTablePrivileges.cpp IscTablePrivilegesResultSet::next() Add this before return true; int nullable = resultSet->getInt(7); if ( nullable ) resultSet->setValue( 7, "YES" ); else resultSet->setValue( 7, "NO" ); and add this before const char *privilege = resultSet->getString(6);: trimBlanks(3); trimBlanks(4); trimBlanks(5); IscTablePrivileges.h Change: #endif // !defined(AFX_ISCTABLESRESULTSET_H__6C3E2AB7_229F_11D4_98DF_0000C01D2301__INCLUDED_) for #endif // !defined(AFX_ISCTABLEPRIVILEGESRESULTSET_H__6C3E2AB7_229F_11D4_98DF_0000C01D2301__INCLUDED_) Best Regards Carlos Guzmán Álvarez Vigo-España _________________________________________________________________ Únase al mayor servicio mundial de correo electrónico: http://www.hotmail.com/es |