Re: help with fulltext search

2009-03-08 Thread Baron Schwartz
Stefan, On Sun, Mar 8, 2009 at 1:50 PM, Stefan Onken wrote: > Hello, > > I am bit puzzled about combining mysql fulltext search into our > current search: > > I am not able to combine a fulltext search with other selections, > please see http://pastebin.com/m23622c39 for full details. The > momen

Re: Possible to get better error handling for invalid enum parameter to stored program?

2009-03-08 Thread David Karr
On Sun, Mar 8, 2009 at 3:31 PM, Steve Edberg wrote: > If you want to keep the enum column, you can set the strict SQL mode: > > mysql> show variables like 'SQL_MODE'; > +---+---+ > | Variable_name | Value | > +---+---+ > | sql_mode | | > +---

Re: Possible to get better error handling for invalid enum parameter to stored program?

2009-03-08 Thread Steve Edberg
If you want to keep the enum column, you can set the strict SQL mode: mysql> show variables like 'SQL_MODE'; +---+---+ | Variable_name | Value | +---+---+ | sql_mode | | +---+---+ 1 row in set (0.00 sec) mysql> create table test2 (test e

mysql behaviour

2009-03-08 Thread Miguel
Hello, I wanted to know how mysql behaves when accessing to its tables. I have check the file descriptors and I could see different MYI and MYD opened. mysqld 17638 mysql 125u REG8,4124928 83197 /usr/var/lib/mysql/xx.MYI mysqld 17638 mysql 126u REG8,4 1186784 83

help with fulltext search

2009-03-08 Thread Stefan Onken
Hello, I am bit puzzled about combining mysql fulltext search into our current search: I am not able to combine a fulltext search with other selections, please see http://pastebin.com/m23622c39 for full details. The moment I am using "...where a=2 OR match (bla) AGAINST ('foo') mysql is not u