Страница 1 из 1

DSPAM + MYSQL

Добавлено: 2007-05-18 10:20:58
dikens3
Вот хотелось бы сделать такую связку, но есть BUG:

Код: Выделить всё

0. CHECK FOR 4.1 BUG

Some versions of 4.1 apparently have a bug with the way bigint's are handled.
If you have this bug, you'll need to either upgrade to a better version of
MySQL or use the 4.0 (speed, space) object scripts for DSPAM instead of the 4.1
scripts.

To check for this bug, log into MySQL and issue these statements:

create table dspam_test (token bigint(20));

insert into dspam_test values('3232933621568372736'),('5174632569486238062'),('5860192774298853742'),('8787532532089676142'),('8029914733239132526');

select token from dspam_test where token in('3232933621568372736','8787532532089676142','8029914733239132526','5174632569486238062','5860192774298853742');

Broken versions of MySQL will return only one row, whereas a working
version will return all five rows.
Проверял на 4.0, нормально работает. НА 4.1 и 5.0 выплывает этот баг.
Кто как делал?

Добавлено: 2007-05-18 16:45:44
dikens3
Отзовитесь люди, хочу настроить DSPAM, если у кого есть в MYSQL то есть ли такой баг?