summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-11-13 23:12:55 +0400
committerunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-11-13 23:12:55 +0400
commit9248b402d8c5e437e0bbbd4e25841b2d54ff3f72 (patch)
tree5a97be6534619bc26b4e41b1de100ad88fbd8a98 /mysql-test/r
parent6c5a2e50c4d738c9df85102d3fcbbf6dd24cec38 (diff)
parentcb927e2f453acc7b8e618ece81e0d963f48b09d8 (diff)
downloadmariadb-git-9248b402d8c5e437e0bbbd4e25841b2d54ff3f72.tar.gz
Merge bk@192.168.21.1:mysql-4.1-opt
into mysql.com:/home/hf/work/31305/my41-31305
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/almost_full.result29
1 files changed, 29 insertions, 0 deletions
diff --git a/mysql-test/r/almost_full.result b/mysql-test/r/almost_full.result
new file mode 100644
index 00000000000..eb28f12fa51
--- /dev/null
+++ b/mysql-test/r/almost_full.result
@@ -0,0 +1,29 @@
+drop table if exists t1;
+set global myisam_data_pointer_size=2;
+CREATE TABLE t1 (a int auto_increment primary key not null, b longtext) ENGINE=MyISAM;
+DELETE FROM t1 WHERE a=1 or a=5;
+INSERT INTO t1 SET b=repeat('a',600);
+ERROR HY000: The table 't1' is full
+CHECK TABLE t1 EXTENDED;
+Table Op Msg_type Msg_text
+test.t1 check warning Datafile is almost full, 65448 of 65534 used
+test.t1 check status OK
+UPDATE t1 SET b=repeat('a', 800) where a=10;
+ERROR HY000: The table 't1' is full
+CHECK TABLE t1 EXTENDED;
+Table Op Msg_type Msg_text
+test.t1 check warning Datafile is almost full, 65448 of 65534 used
+test.t1 check status OK
+INSERT INTO t1 SET b=repeat('a',400);
+CHECK TABLE t1 EXTENDED;
+Table Op Msg_type Msg_text
+test.t1 check warning Datafile is almost full, 65448 of 65534 used
+test.t1 check status OK
+DELETE FROM t1 WHERE a=2 or a=6;
+UPDATE t1 SET b=repeat('a', 600) where a=11;
+CHECK TABLE t1 EXTENDED;
+Table Op Msg_type Msg_text
+test.t1 check warning Datafile is almost full, 65448 of 65534 used
+test.t1 check status OK
+drop table t1;
+set global myisam_data_pointer_size=default;