diff options
author | unknown <monty@mishka.mysql.com> | 2005-09-12 18:48:17 +0300 |
---|---|---|
committer | unknown <monty@mishka.mysql.com> | 2005-09-12 18:48:17 +0300 |
commit | 90ca6d15b3c560672c8ea8963d57c6bac48978f2 (patch) | |
tree | 77696e4dc0f25ba656ed3f04ff1f1a2bf32d9c69 /mysql-test/t/innodb.test | |
parent | e98e15db9b05da3b4c1ad5d788f2c6e5a3b78a15 (diff) | |
download | mariadb-git-90ca6d15b3c560672c8ea8963d57c6bac48978f2.tar.gz |
Review fixes since last pull
Fix for bug #13025; Server crash in filesort because wrong call to handler::position()
client/mysqltest.c:
Code cleanup during review
mysql-test/r/innodb.result:
Added test case for bug #13025; Server crash in filesort because wrong call to handler::position()
mysql-test/t/innodb.test:
Added test case for bug #13025; Server crash in filesort because wrong call to handler::position()
sql/filesort.cc:
Don't call handler::position() if row was not found
sql/item_cmpfunc.cc:
Indentation changes
sql/sql_select.cc:
Moved variable to outer level
Diffstat (limited to 'mysql-test/t/innodb.test')
-rw-r--r-- | mysql-test/t/innodb.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/innodb.test b/mysql-test/t/innodb.test index 33432209e65..a14370c6543 100644 --- a/mysql-test/t/innodb.test +++ b/mysql-test/t/innodb.test @@ -1220,4 +1220,14 @@ insert into t1 values (42); select * from t1; drop table t1; +# +# Bug #13025 Server crash during filesort +# + +create table t1 (a int not null, b int not null, c blob not null, d int not null, e int, primary key (a,b,c(255),d)) engine=innodb; +insert into t1 values (2,2,"b",2,2),(1,1,"a",1,1),(3,3,"ab",3,3); +select * from t1 order by a,b,c,d; +explain select * from t1 order by a,b,c,d; +drop table t1; + # End of 4.1 tests |