3
# Transactions are unsupported by MySQL - so for insertion of
4
# 8192 rows, 1 INSERT per Xaction, we returned "Transactions unsupported"
6
if ( $TestDBMS =~ /^mysql/ && $XACTBLOCK eq '' )
8
print STDERR " No_Xact\n";
12
`> .sqlf`; # clean file
15
# PgSQL specific: if all queries from inssimple.data must be executed in
16
# single xaction ($XACTBLOCK ne '') then add BEGIN/END arround queries
18
`echo "BEGIN;" >> .sqlf` if ( $TestDBMS =~ /^pgsql/ && $XACTBLOCK ne '' );
21
`cat sqls/inssimple.data >> .sqlf`;
25
`echo "END;" >> .sqlf` if ( $TestDBMS =~ /^pgsql/ && $XACTBLOCK ne '' );
28
`time $FrontEnd < .sqlf`;