У кого MySQL 5.0.45 и до последний 5.0.x - проверьте плиз на разных OS

confguru

ExAdmin
Команда форума
У кого MySQL 5.0.45 и до последний 5.0.x - проверьте плиз на разных OS

Проверьте плиз на разных OS

CREATE TABLE IF NOT EXISTS `bug` (
`id1` int(11) NOT NULL,
`id2` int(11) NOT NULL,
`id3` int(11) NOT NULL,
`info` char(10) NOT NULL,
PRIMARY KEY (`id1`,`id2`,`id3`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;


select info from bug
where id1=4 and (id2=354 or id2=0)
order by id2 desc

у меня вызывает
#2006 - MySQL server has gone away

thd=0x20b1700
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0x440ca0f0, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
(nil)
New value of fp=0x20b1700 failed sanity check, terminating stack trace!
Please read http://dev.mysql.com/doc/mysql/en/using-stack-trace.html and follow instructions on how to resolve the stack trace. Red
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x20b78a0 = select info from bug where id1 = 13489827 and id3 = 191283 and ( id2 = 354 or id2 = 0 ) order by id2 desc
LIMIT 0, 30
thd->thread_id=4
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.

Number of processes running now: 0
080213 18:43:05 mysqld restarted
 

Gas

может по одной?
Mysql 5.0.45, FreeBSD 6.0
результат - empty set, mysql не валится.
 

.des.

Поставил пиво кому надо ;-)
5.0.45-community-nt MySQL Community Edition (GPL)
Windows XP 32bit

Empty set (0.00 sec)
-----------------------------------
5.0.18-Max
Suse 10.1 x86_64 2.6.16.21-0.13-smp

Empty set (0.00 sec)
-----------------------------------
5.1.19-beta MySQL Community Server (GPL)
RHEL 5 x86_64 2.6.18-8.1.4.el5 #1SMP

Empty set (0.00 sec)
 

svetasmirnova

маленький монстрик
admin
Версия MySQL? Плтаформа? Валится с пустой таблицей? Если нет, приведи SHOW TABLE STATUS

-~{}~ 13.02.08 20:15:

admin
И my.cnf
 

Dovg

Продвинутый новичок
mysql 5.0.45
debian etch, местами sid
amd64

выводит пустой результат, ошибок нет

-~{}~ 14.02.08 00:30:

mysql из исходников
 

Beavis

Banned
MySQL вернула пустой результат (т.е. ноль строк). (запрос занял 0.0007 сек.)

win32
Версия сервера: 5.0.51a-community-nt
Версия MySQL-клиента: 5.0.45
 

Mr_Max

Первый класс. Зимние каникулы ^_^
Команда форума
+---------------------+
| VERSION() |
+---------------------+
| 5.0.45-community-nt |
+---------------------+
1 row in set (0.00 sec)

mysql> select info from bug
-> where id1=4 and (id2=354 or id2=0)
-> order by id2 desc;
Empty set (0.00 sec)
 

confguru

ExAdmin
Команда форума
Автор оригинала: svetasmirnova
admin
Версия MySQL? Плтаформа? Валится с пустой таблицей? Если нет, приведи SHOW TABLE STATUS

-~{}~ 13.02.08 20:15:

admin
И my.cnf
Версия от .45 до последней
Suse 10.3 x64 (Core Duo2)
C пустой тоже валится...

Путем экспериментов выяснено что влиеяет DESC (там 3-й состваной индекс, и сортировка
идет по 2-му ключу) и плюс в условии стоит and ( or )

Ставилось из RPM
 

confguru

ExAdmin
Команда форума
skip-locking
key_buffer = 80M
max_allowed_packet = 32M
table_cache = 256
sort_buffer_size = 8M
net_buffer_length = 8K
read_buffer_size = 1M
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 1M
default-character-set = cp1251
default-collation = cp1251_general_ci
skip-name-resolve
init-connect = "SET NAMES cp1251"
skip-character-set-client-handshake
default-table-type = InnoDB

-~{}~ 14.02.08 15:13:

Сейчас пересобрал из исходников - осталось тоже самое..

5.0.51a Source distribution

openSUSE-10.3-GM-DVD-x86_64
Linux 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC x86_64 x86_64 x86_64 GNU/Linux
 
Сверху