summaryrefslogtreecommitdiff
path: root/sql-bench/copy-db.sh
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-11-29 05:09:28 +0200
committermonty@donna.mysql.com <>2000-11-29 05:09:28 +0200
commit08a2c58ed1fb3c11484681d1eabe8906cfd1d001 (patch)
treeee9a533ec9c7faa983b88519569d772d4c829bc1 /sql-bench/copy-db.sh
parentaf297a21c369ab2d97623513316a7a81af9dc7b7 (diff)
downloadmariadb-git-08a2c58ed1fb3c11484681d1eabe8906cfd1d001.tar.gz
Fixed bug in 'drop table'
Portability fixes
Diffstat (limited to 'sql-bench/copy-db.sh')
-rwxr-xr-xsql-bench/copy-db.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql-bench/copy-db.sh b/sql-bench/copy-db.sh
index 245aa4e79b6..f5394b09923 100755
--- a/sql-bench/copy-db.sh
+++ b/sql-bench/copy-db.sh
@@ -127,7 +127,7 @@ foreach $table (@ARGV)
$columns=$sth->{NUM_OF_FIELDS};
$columns_to_quote=get_columns_to_quote($sth);
- $multi_value_insert=$sth->{'multi_value_insert'};
+ $insert_multi_value=$sth->{'insert_multi_value'};
$query="insert into $table values"; $result="";
print "- copying $table\n" if ($opt_verbose);
@@ -146,7 +146,7 @@ foreach $table (@ARGV)
}
}
substr($tmp,-1)=")"; # Remove last ','
- if ($multi_value_insert)
+ if ($insert_multi_value)
{
$to_dbh->do($query . $tmp) || die "Can't insert row: $DBI::errstr";
}