Improve TIMESTAMP display. (firebird-sdbc)

Change-Id: Ief7ec180e3787a3354e2034693052ebf05a30e81
This commit is contained in:
Andrzej J.R. Hunt 2013-08-30 11:29:51 +01:00
parent 026fe9c53b
commit fc7e7b6831

View file

@ -966,7 +966,7 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo()
// SQL_TIMESTAMP
// TODO: precision?
aRow[1] = new ORowSetValueDecorator(OUString("timestamp"));
aRow[1] = new ORowSetValueDecorator(OUString("TIMESTAMP"));
aRow[2] = new ORowSetValueDecorator(getColumnTypeFromFBType(SQL_TIMESTAMP));
aRow[3] = new ORowSetValueDecorator(sal_Int32(8)); // Prevision = max length
aRow[6] = new ORowSetValueDecorator(); // Create Params