Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
This commit is contained in:
@@ -2317,7 +2317,7 @@ static void pgTypeInfo2ResultSet(
|
||||
|
||||
if( dataType == com::sun::star::sdbc::DataType::CHAR ||
|
||||
( dataType == com::sun::star::sdbc::DataType::VARCHAR &&
|
||||
xRow->getString(TYPE_NAME+1).equalsIgnoreAsciiCaseAscii( "varchar") ) )
|
||||
xRow->getString(TYPE_NAME+1).equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("varchar")) ) )
|
||||
{
|
||||
// reflect varchar as varchar with upper limit !
|
||||
//NOTE: the sql spec requires varchar to have an upper limit, however
|
||||
|
Reference in New Issue
Block a user