insert into test_div(numerator, denominator) values (100, 5); insert into test_div(numerator, denominator) values (10000000, 3); insert into test_div(numerator, denominator) values (987654321000, 7); commit; /* This is known to fail. Uncomment as required. set bail off; insert into test_div(numerator, denominator) values (9876543210000000000, 7); set bail on; */ commit; /* * It would be nice to dynamically generate these file names and descriptions depending upon OS platform. * This requires some shell trickery. */ -- A text file smaller than max blob segment size insert into test_blobs( description, file_type, source_file ) values ('fb config', 'txt', '/opt/firebird/firebird.conf'); -- A text file that _may_ be larger than max blob segment size insert into test_blobs( description, file_type, source_file ) values ('fb log', 'txt', '/opt/firebird/firebird.log'); -- a binary file smaller than max blob segment size insert into test_blobs( description, file_type, source_file ) values ('timezoneTypes', 'bin', '/opt/firebird/tzdata/timezoneTypes.res'); -- a binary file larger than max blob segment size insert into test_blobs( description, file_type, source_file ) values ('zoneinfo64.res', 'bin', '/opt/firebird/tzdata/zoneinfo64.res'); -- a binary file smaller than max blob segment size insert into test_blobs( description, file_type, source_file ) values ('ib_util lib', 'bin', '/opt/firebird/lib/libib_util.so'); -- a binary file larger than max blob segment size - may need to set write perm if this fails insert into test_blobs( description, file_type, source_file ) values ('udr plugin engine', 'bin', '/opt/firebird/plugins/libudr_engine.so'); -- A text file that is larger than max blob segment size (on Firebird 4.0) May not exist in all installs --insert into test_blobs( description, file_type, source_file ) values ('fb changelog', 'txt', '/opt/firebird/CHANGELOG.md'); /* * Untested but this should be the windows equivalent - Note that the tests in testudrkit-tests.dml would need to be changed too! insert into test_blobs( description, file_type, source_file ) values ('fb config', 'txt', 'C:\\Program Files\\Firebird\\Firebird_4_0\\firebird.conf'); insert into test_blobs( description, file_type, source_file ) values ('fb log', 'txt', 'C:\\Program Files\\Firebird\\Firebird_4_0\\firebird.log'); */ commit;