summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-07-14 20:02:38 +0400
committerunknown <konstantin@mysql.com>2005-07-14 20:02:38 +0400
commitcefa7949fdd9a48a0119e70d40c2b3b71004260f (patch)
tree802294e7c5acc37f6a437cc6c6f890381348ad4a
parentdff519c76890dd75b31d9221afe36dfa6ddfc57c (diff)
parent29f55c9e0476ca046e2da4bcfa5bdbf9d157cc03 (diff)
downloadmariadb-git-cefa7949fdd9a48a0119e70d40c2b3b71004260f.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/media/sda1/mysql/mysql-5.0-10760-new
-rw-r--r--mysql-test/r/fulltext_order_by.result2
-rw-r--r--mysql-test/t/fulltext_order_by.test2
-rw-r--r--sql/sql_select.cc2
3 files changed, 4 insertions, 2 deletions
diff --git a/mysql-test/r/fulltext_order_by.result b/mysql-test/r/fulltext_order_by.result
index 130d096e00f..3b52be4b1f2 100644
--- a/mysql-test/r/fulltext_order_by.result
+++ b/mysql-test/r/fulltext_order_by.result
@@ -158,5 +158,5 @@ where
match(c.beitrag) against ('+abc' in boolean mode)
order by
match(betreff) against ('+abc' in boolean mode) desc;
-text id betreff
+ERROR HY000: The used table type doesn't support FULLTEXT indexes
drop table t1,t2,t3;
diff --git a/mysql-test/t/fulltext_order_by.test b/mysql-test/t/fulltext_order_by.test
index 6894f63fa77..3101242613a 100644
--- a/mysql-test/t/fulltext_order_by.test
+++ b/mysql-test/t/fulltext_order_by.test
@@ -117,6 +117,8 @@ where
order by
match(b.betreff) against ('+abc' in boolean mode) desc;
+-- todo psergey: fix
+--error 1214
select a.text, b.id, b.betreff
from
t2 a inner join t3 b on a.id = b.forum inner join
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 3d9315a2bd6..04a9126d8ed 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -5178,7 +5178,7 @@ static void add_not_null_conds(JOIN *join)
when it is called from make_join_select after this function is
called.
*/
- if (notnull->fix_fields(join->thd, join->tables_list, &notnull))
+ if (notnull->fix_fields(join->thd, &notnull))
DBUG_VOID_RETURN;
DBUG_EXECUTE("where",print_where(notnull,
referred_tab->table->alias););