2
# Tests the PRINT_TRANSACTION_MESSAGE() UDF which is part of the
3
# transaction log module
6
# Populate log with some records...
7
--source ../plugin/transaction_log/tests/t/insert.inc
9
# Query the INFORMATION_SCHEMA.TRANSACTION_LOG_ENTRIES view
10
# and call the PRINT_TRANSACTION_MESSAGE() UDF
12
SELECT LENGTH(PRINT_TRANSACTION_MESSAGE('transaction.log', ENTRY_OFFSET)) > 0 as checked
13
FROM DATA_DICTIONARY.TRANSACTION_LOG_ENTRIES
16
# Truncate the log file to reset for the next test
17
--source ../plugin/transaction_log/tests/t/truncate_log.inc