summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_32bit.inc
diff options
context:
space:
mode:
authorunknown <hhunger@hh-nb.hungers>2008-05-08 20:13:39 +0200
committerunknown <hhunger@hh-nb.hungers>2008-05-08 20:13:39 +0200
commitdb03bda0ed7da8f6fa9ba4fa0fe1ebc93f4d3abb (patch)
tree12ee1f745583b6c24239f295095f3368a30f92c5 /mysql-test/include/have_32bit.inc
parentb54b7c6552c1559dbda9f4dd7b1a1211d0495094 (diff)
downloadmariadb-git-db03bda0ed7da8f6fa9ba4fa0fe1ebc93f4d3abb.tar.gz
Fixes for bug#36522.
BitKeeper/etc/ignore: Added mysql-test/bug36522-64.tar mysql-test/bug36522.tar mysql-test/t.log mysql-test/tps.log to the ignore list
Diffstat (limited to 'mysql-test/include/have_32bit.inc')
-rw-r--r--mysql-test/include/have_32bit.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/include/have_32bit.inc b/mysql-test/include/have_32bit.inc
new file mode 100644
index 00000000000..b09a813967d
--- /dev/null
+++ b/mysql-test/include/have_32bit.inc
@@ -0,0 +1,16 @@
+# Created by Horst Hunger 2008-04-15
+# see also have_64bit.inc
+
+--disable_query_log
+--disable_warnings
+let $save = `SELECT @@global.sort_buffer_size`;
+SET @@global.sort_buffer_size = 4294967296;
+let $mach32 = `SELECT @@global.sort_buffer_size <= 4294967295`;
+eval SET @@global.sort_buffer_size = $save;
+--enable_warnings
+--enable_query_log
+if (!$mach32)
+{
+ skip Need a 32 bit machine;
+}
+