summaryrefslogtreecommitdiff
path: root/tests/truncate.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/truncate.pl')
-rwxr-xr-xtests/truncate.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/truncate.pl b/tests/truncate.pl
index 98791a15b2c..85a7888bc4a 100755
--- a/tests/truncate.pl
+++ b/tests/truncate.pl
@@ -47,7 +47,7 @@ print "Testing truncate from $opt_threads multiple connections $opt_loop_count t
####
$start_time=new Benchmark;
-$dbh = DBI->connect("DBI:mysql:$opt_db:$opt_host",
+$dbh = DBI->connect("DBI:MariaDB:$opt_db:$opt_host",
$opt_user, $opt_password,
{ PrintError => 0}) || die $DBI::errstr;
if (!$opt_skip_create)
@@ -100,7 +100,7 @@ while (($pid=wait()) != -1)
if (!$opt_skip_delete && !$errors)
{
my $table_def;
- $dbh = DBI->connect("DBI:mysql:$opt_db:$opt_host",
+ $dbh = DBI->connect("DBI:MariaDB:$opt_db:$opt_host",
$opt_user, $opt_password,
{ PrintError => 0}) || die $DBI::errstr;
@@ -127,7 +127,7 @@ sub test_truncate
{
my ($dbh,$i,$j,$count,$table_def,$table);
- $dbh = DBI->connect("DBI:mysql:$opt_db:$opt_host",
+ $dbh = DBI->connect("DBI:MariaDB:$opt_db:$opt_host",
$opt_user, $opt_password,
{ PrintError => 0}) || die $DBI::errstr;