diff options
author | monty@donna.mysql.com <> | 2000-11-29 05:09:28 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-11-29 05:09:28 +0200 |
commit | 08a2c58ed1fb3c11484681d1eabe8906cfd1d001 (patch) | |
tree | ee9a533ec9c7faa983b88519569d772d4c829bc1 /sql-bench/copy-db.sh | |
parent | af297a21c369ab2d97623513316a7a81af9dc7b7 (diff) | |
download | mariadb-git-08a2c58ed1fb3c11484681d1eabe8906cfd1d001.tar.gz |
Fixed bug in 'drop table'
Portability fixes
Diffstat (limited to 'sql-bench/copy-db.sh')
-rwxr-xr-x | sql-bench/copy-db.sh | 4 |
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"; } |