summaryrefslogtreecommitdiff
path: root/sql-bench/test-insert.sh
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-08-21 03:00:52 +0300
committermonty@donna.mysql.com <>2000-08-21 03:00:52 +0300
commitaa3580924bb1a036a5b4ce7c6f4c930499eb09e2 (patch)
treef46edbbf41f400440bde25519820b29885305b1b /sql-bench/test-insert.sh
parent86f4dbe20e850a6161d69b7407838c28a8bf93f9 (diff)
downloadmariadb-git-aa3580924bb1a036a5b4ce7c6f4c930499eb09e2.tar.gz
RENAME TABLE table_name TO new_table_name ; Faster Alloc
Small bug fixes
Diffstat (limited to 'sql-bench/test-insert.sh')
-rwxr-xr-xsql-bench/test-insert.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-bench/test-insert.sh b/sql-bench/test-insert.sh
index cdefcaf414f..b38d132d356 100755
--- a/sql-bench/test-insert.sh
+++ b/sql-bench/test-insert.sh
@@ -224,7 +224,7 @@ if ($limits->{'unique_index'})
$tmpvar^= ((($tmpvar + 63) + $i)*3 % $opt_loop_count);
$tmp=$tmpvar % ($total_rows);
$tmpquery = "$query ($tmp,1,2,'D')";
- if ($dbh->do($tmpquery))
+ if (!$dbh->do($tmpquery))
{
die "Didn't get an error when inserting duplicate record $tmp\n";
}