mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 15:25:33 +02:00
Lots of portability fixes.
Fixed shutdown on HPUX. Fixed bug in query cache. Docs/manual.texi: Changelog configure.in: Fixes for HPUX include/m_string.h: Fixes for Purify include/my_pthread.h: Fixes for HPUX include/raid.h: Portability fix. innobase/include/univ.i: Portability fix. mysql-test/mysql-test-run.sh: Added --manual-gdb mysql-test/r/rpl_log.result: Portability fix mysql-test/t/rpl_log.test: Portability fix mysys/my_pthread.c: Portability fix (HPUX) mysys/raid.cc: Portability fix mysys/thr_mutex.c: Portability fix scripts/mysql_install_db.sh: Clean up install message sql-bench/test-alter-table.sh: Fix testsuite sql/ha_innobase.cc: Fixed stack overwrite. sql/log_event.cc: Fixed purify warning sql/mysqld.cc: Added patch from FreeBSD port. Fixed shutdown on HPUX. sql/slave.cc: Cleanup sql/sql_cache.cc: Binary search in 'step' searching Check maximal block in bin Limit of comparasions number in list of memory blocks. Fixed bug in pack() sql/sql_cache.h: Binary search in 'step' searching Check maximal block in bin Limit of comparasions number in list of memory blocks. Fixed bug in pack() sql/sql_parse.cc: Optimize tools/mysqlmanager.c: Portability fix
This commit is contained in:
parent
565e5cc71d
commit
8f05035c27
22 changed files with 189 additions and 106 deletions
|
|
@ -75,7 +75,7 @@ print "Insert data into the table\n";
|
|||
|
||||
$loop_time=new Benchmark;
|
||||
|
||||
if ($opt_fast && defined($server->{transactions}))
|
||||
if ($opt_fast && $server->{transactions})
|
||||
{
|
||||
$dbh->{AutoCommit} = 0;
|
||||
print "Transactions enabled\n" if ($opt_debug);
|
||||
|
|
@ -87,7 +87,7 @@ for ($i=0 ; $i < $opt_row_count ; $i++)
|
|||
$dbh->do($query) or die $DBI::errstr;
|
||||
}
|
||||
|
||||
if ($opt_fast && defined($server->{transactions}))
|
||||
if ($opt_fast && $server->{transactions})
|
||||
{
|
||||
$dbh->commit;
|
||||
$dbh->{AutoCommit} = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue