Enable PBXT to be a transactional engine for sql-bench.
HEAP is deprecated in favor of MEMORY.
This commit is contained in:
parent
c9a0d7338c
commit
c102ab13bc
@ -179,11 +179,22 @@ sub new
|
||||
{
|
||||
$limits{'working_blobs'} = 0; # HEAP tables can't handle BLOB's
|
||||
}
|
||||
# HEAP is deprecated in favor of MEMORY
|
||||
if (defined($main::opt_create_options) &&
|
||||
$main::opt_create_options =~ /engine=memory/i)
|
||||
{
|
||||
$limits{'working_blobs'} = 0; # MEMORY tables can't handle BLOB's
|
||||
}
|
||||
if (defined($main::opt_create_options) &&
|
||||
$main::opt_create_options =~ /engine=innodb/i)
|
||||
{
|
||||
$self->{'transactions'} = 1; # Transactions enabled
|
||||
}
|
||||
if (defined($main::opt_create_options) &&
|
||||
$main::opt_create_options =~ /engine=pbxt/i)
|
||||
{
|
||||
$self->{'transactions'} = 1; # Transactions enabled
|
||||
}
|
||||
if (defined($main::opt_create_options) &&
|
||||
$main::opt_create_options =~ /engine=ndb/i)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user