mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 08:15:31 +02:00
All statements are now run in a sub transaction
Give warning if we are using non transactional tables and do ROLLBACK Porting of crash-me and benchmarks to FrontBase Docs/manual.texi: Updates for 3.23.29 include/mysqld_error.h: New error messages sql-bench/Data/ATIS/fconnection.txt: Name change because 'connection' was a reserved word in FrontBase sql-bench/bench-init.pl.sh: Port to FrontBase sql-bench/crash-me.sh: Port to FrontBase sql-bench/server-cfg.sh: Port to FrontBase sql-bench/test-ATIS.sh: Port to FrontBase sql-bench/test-alter-table.sh: Port to FrontBase sql-bench/test-big-tables.sh: Port to FrontBase sql-bench/test-connect.sh: Port to FrontBase sql-bench/test-create.sh: Port to FrontBase sql-bench/test-insert.sh: Port to FrontBase sql-bench/test-select.sh: Port to FrontBase sql-bench/test-wisconsin.sh: Port to FrontBase sql/ha_berkeley.cc: All statements are now run in a sub transaction sql/ha_berkeley.h: All statements are now run in a sub transaction sql/handler.cc: All statements are now run in a sub transaction sql/handler.h: All statements are now run in a sub transaction sql/mysql_priv.h: Moved QUERY_NO.. flags to unique numbers sql/mysqld.cc: All statements are now run in a sub transaction sql/net_pkg.cc: Added send_warning sql/share/czech/errmsg.sys: New error messages sql/share/czech/errmsg.txt: New error messages sql/share/danish/errmsg.sys: New error messages sql/share/danish/errmsg.txt: New error messages sql/share/dutch/errmsg.sys: New error messages sql/share/dutch/errmsg.txt: New error messages sql/share/english/errmsg.sys: New error messages sql/share/english/errmsg.txt: New error messages sql/share/estonian/errmsg.sys: New error messages sql/share/estonian/errmsg.txt: New error messages sql/share/french/errmsg.sys: New error messages sql/share/french/errmsg.txt: New error messages sql/share/german/errmsg.sys: New error messages sql/share/german/errmsg.txt: New error messages sql/share/greek/errmsg.sys: New error messages sql/share/greek/errmsg.txt: New error messages sql/share/hungarian/errmsg.sys: New error messages sql/share/hungarian/errmsg.txt: New error messages sql/share/italian/errmsg.sys: New error messages sql/share/italian/errmsg.txt: New error messages sql/share/japanese/errmsg.sys: New error messages sql/share/japanese/errmsg.txt: New error messages sql/share/korean/errmsg.sys: New error messages sql/share/korean/errmsg.txt: New error messages sql/share/norwegian-ny/errmsg.txt: New error messages sql/share/norwegian/errmsg.txt: New error messages sql/share/polish/errmsg.sys: New error messages sql/share/polish/errmsg.txt: New error messages sql/share/portuguese/errmsg.sys: New error messages sql/share/portuguese/errmsg.txt: New error messages sql/share/romanian/errmsg.txt: New error messages sql/share/russian/errmsg.sys: New error messages sql/share/russian/errmsg.txt: New error messages sql/share/slovak/errmsg.sys: New error messages sql/share/slovak/errmsg.txt: New error messages sql/share/spanish/errmsg.sys: New error messages sql/share/spanish/errmsg.txt: New error messages sql/share/swedish/errmsg.OLD: New error messages sql/share/swedish/errmsg.sys: New error messages sql/share/swedish/errmsg.txt: New error messages sql/slave.cc: All statements are now run in a sub transaction sql/sql_class.cc: All statements are now run in a sub transaction sql/sql_class.h: All statements are now run in a sub transaction sql/sql_delete.cc: Remember if we are using a non transactional table sql/sql_insert.cc: Remember if we are using a non transactional table sql/sql_load.cc: Remember if we are using a non transactional table sql/sql_parse.cc: All statements are now run in a sub transaction sql/sql_select.cc: Remember if we are using a non transactional table sql/sql_table.cc: All statements are now run in a sub transaction sql/sql_update.cc: All statements are now run in a sub transaction sql/sql_yacc.yy: All statements are now run in a sub transaction
This commit is contained in:
parent
681aeb58e6
commit
e94b4ebf2b
73 changed files with 1377 additions and 331 deletions
|
|
@ -64,7 +64,7 @@ if ($opt_force) # If tables used in this test exist, drop 'em
|
|||
print "Okay..Let's make sure that our tables don't exist yet.\n\n";
|
||||
for ($i=1 ; $i <= $max_tables ; $i++)
|
||||
{
|
||||
$dbh->do("drop table bench_$i");
|
||||
$dbh->do("drop table bench_$i" . $server->{'drop_attr'});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -90,7 +90,7 @@ for ($i=1 ; $i <= $max_tables ; $i++)
|
|||
# Got an error; Do cleanup
|
||||
for ($i=1 ; $i <= $max_tables ; $i++)
|
||||
{
|
||||
$dbh->do("drop table bench_$i");
|
||||
$dbh->do("drop table bench_$i" . $server->{'drop_attr'});
|
||||
}
|
||||
die "Test aborted";
|
||||
}
|
||||
|
|
@ -148,13 +148,13 @@ if ($opt_fast && $server->{'limits'}->{'multi_drop'} &&
|
|||
{
|
||||
$query.=",bench_$i";
|
||||
}
|
||||
$sth = $dbh->do($query) or die $DBI::errstr;
|
||||
$sth = $dbh->do($query . $server->{'drop_attr'}) or die $DBI::errstr;
|
||||
}
|
||||
else
|
||||
{
|
||||
for ($i=1 ; $i <= $max_tables ; $i++)
|
||||
{
|
||||
$sth = $dbh->do("drop table bench_$i")
|
||||
$sth = $dbh->do("drop table bench_$i" . $server->{'drop_attr'})
|
||||
or die $DBI::errstr;
|
||||
}
|
||||
}
|
||||
|
|
@ -186,7 +186,7 @@ for ($i=1 ; $i <= $opt_loop_count ; $i++)
|
|||
"s char(10)",
|
||||
"v varchar(100)"],
|
||||
["primary key (i)"]));
|
||||
$sth = $dbh->do("drop table bench_$i") or die $DBI::errstr;
|
||||
$sth = $dbh->do("drop table bench_$i" . $server->{'drop_attr'}) or die $DBI::errstr;
|
||||
}
|
||||
|
||||
$end_time=new Benchmark;
|
||||
|
|
@ -239,7 +239,7 @@ $loop_time=new Benchmark;
|
|||
for ($i=1 ; $i <= $opt_loop_count ; $i++)
|
||||
{
|
||||
do_many($dbh,$server->create("bench_$i", \@fields, \@index));
|
||||
$dbh->do("drop table bench_$i") or die $DBI::errstr;
|
||||
$dbh->do("drop table bench_$i" . $server->{'drop_attr'}) or die $DBI::errstr;
|
||||
}
|
||||
|
||||
$end_time=new Benchmark;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue