ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@altlinux.ru>
To: devel@lists.altlinux.org
Subject: [devel]  Re: Q: прошу помощи с jabberd2
Date: Fri, 31 Mar 2006 14:30:25 +0400 (MSD)
Message-ID: <36138.127.0.0.1.1143801025.squirrel@mojo.myroom.ru> (raw)
In-Reply-To: <442D0427.7060800@altlinux.ru>


<цитата от="Andrei Bulava">
> Hi!
>
> Я описал свои трудности с jabberd2, вызванные
> https://bugzilla.altlinux.org/show_bug.cgi?id=9348, там же (наверное,
> зря ;-).
>
> Повторюсь по сути:
>
> Начиная с MySQL-5.0.3, произошло существенное изменение умолчания поля
> MYSQL->reconnect с 1 на 0, т.е. теперь соединение по умолчанию
> открывается в режиме "не пересоединяться, если соединение было закрыто".
>
> Вернуть старое поведение (на которое в jabberd2 опирается восстановление
> отпавшего по таймауту соединения с MySQL-сервером), согласно
> документации, можно вызовом mysql_options( &mysql, MYSQL_OPT_RECONNECT,
> ... ) _до_ вызова mysql_real_connect(). Но из-за ошибки
> http://bugs.mysql.com/bug.php?id=15719 версии MySQL между 5.0.3 и 5.0.18
> включительно игнорируют вышеуказанный вызов mysql_options() _до_
> mysql_real_connect() (см. комментарии к
> http://dev.mysql.com/doc/refman/5.0/en/mysql-ping.html )
>
> Как мне исправить jabberd2 наименьшей кровью, чтоб люди
> не напоролись на труднопостижимые баги при эксплуатации jabberd2 с
> libMySQL версий >= 5.0.3 и < 5.0.18..., сохранив при этом возможность
> пересборки в среде с libMySQL-4.x.x (например, бэкпорт на ALM 2.4 или
> менее свежий Сизиф) из того же src.rpm?
а где люди найдут libMySQL версий >= 5.0.3 и < 5.0.18 в сизифе?


-- 
WBR et al.



  reply	other threads:[~2006-03-31 10:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-31 10:27 [devel] " Andrei Bulava
2006-03-31 10:30 ` Konstantin A. Lepikhov [this message]
2006-03-31 10:57   ` Andrei Bulava
2006-03-31 10:59     ` Andrei Bulava
2006-03-31 11:02       ` [devel] " Konstantin A. Lepikhov
2006-03-31 11:02 ` [devel] " Anton D. Kachalov
2006-04-01  8:07 ` Mikhail Zabaluev
2006-04-03  7:37 ` Andrei Bulava

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36138.127.0.0.1.1143801025.squirrel@mojo.myroom.ru \
    --to=lakostis@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git