MyFirstUDRKit/test/testudrkit.sql

34 lines
515 B
MySQL
Raw Normal View History

2023-01-25 14:54:48 +01:00
set echo on;
set sql dialect 3;
set names UTF8;
input recreate_db.ddl;
2023-01-25 15:57:57 +01:00
-- deploy the UDR library
2023-01-26 16:11:34 +01:00
shell cp -L ../build/x86_64-linux/libMyFirstUDRKit.so /opt/firebird/plugins/udr/ ;
-- declare the UDR library - must be done before we declare database objects!
input ../sql/MyFirstUDRKit.ddl;
2023-01-25 15:57:57 +01:00
2023-01-25 14:54:48 +01:00
-- create db objects
input testudrkit.ddl;
2023-01-25 15:57:57 +01:00
2023-01-25 14:54:48 +01:00
-- insert some test data
2023-01-26 16:11:34 +01:00
input testudrkit-testdata.dml;
2023-01-25 14:54:48 +01:00
-- run some tests
input testudrkit-tests.dml;
/* Successfully completed execution of testudrkit.sql */
2023-01-26 16:11:34 +01:00
exit;
2023-01-25 14:54:48 +01:00