ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Yakshin <greycat@altlinux.org>
To: ALT Linux Devel Mailing List <devel@lists.altlinux.org>
Subject: Re: [devel] Q: MySQL incompatible changes
Date: Thu, 02 Nov 2006 13:39:06 +0300
Message-ID: <4549CACA.7020105@altlinux.org> (raw)
In-Reply-To: <20061102092840.GA11635@lks.home>

Konstantin A. Lepikhov пишет:
> Hi!
> 
> По просьбе некоторых товарищей я похакал MySQL, чтобы оно умело работать с
> именем прользователя >= 16 символов. Но данные хаки делают сборку
> несовместимой с другими нехаканными клиентами, если они собраны статически
> с какой-то более ранней версией libMySQL, либо находятся в других
> дистрибутивах. Также есть проблема с дампами баз - получается, что такую
> базу сможет восстановить/сдампить только похаканная версия, т.к. обычная
> использует для User прибитые гвоздями char(16). Отсюда вопрос - надо ли
> это, или оставить все как есть?
> 
> PS Говорят, что в 4.0.x тоже можно было задавать имя пользователя >= 16
> символов. Но там был просто баг реализации - не смотря на USERNAME_LENGTH
> 16, границы этого LENGTH забывали проверять.

Приложить патч и способ его включения в SRPM, но по умолчанию не собирать?

-- 
WBR, GreyCat


      parent reply	other threads:[~2006-11-02 10:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-02  9:28 Konstantin A. Lepikhov
2006-11-02  9:49 ` Anton Farygin
2006-11-02  9:55 ` Денис Смирнов
2006-11-02 10:14   ` Konstantin A. Lepikhov
2006-11-02 13:32     ` Денис Смирнов
2006-11-02 19:15       ` Konstantin A. Lepikhov
2006-11-02 21:05         ` Денис Смирнов
2006-11-02 10:00 ` Michael Shigorin
2006-11-02 10:39 ` Mikhail Yakshin [this message]

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=4549CACA.7020105@altlinux.org \
    --to=greycat@altlinux.org \
    --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