"sum" in MySQL querry

Juraj Trenkler <[email protected]>
Newsgroups gmane.comp.openoffice.dba.user
Message-ID <[email protected]>
OOo121, MySQL 5.0.6-beta-standard, jdbc driver.

I tried to run some of my older querries in my database but I got problem with 
"sum" function which worked previously.

With sql querry 
"select rok,  sum(etnikum=3) from hlasenie group by rok" 
I got error: 
Unknown type 246 in column 1 of 2 in binary-encoded result set.

juraj
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.