From: "Денис Смирнов" <mithraen@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Q: MySQL incompatible changes
Date: Thu, 2 Nov 2006 12:55:41 +0300
Message-ID: <20061102095541.GA22759@localhost.localdomain> (raw)
In-Reply-To: <20061102092840.GA11635@lks.home>
[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]
On Thu, Nov 02, 2006 at 12:28:40PM +0300, Konstantin A. Lepikhov wrote:
KAL> По просьбе некоторых товарищей я похакал MySQL, чтобы оно умело работать с
KAL> именем прользователя >= 16 символов. Но данные хаки делают сборку
KAL> несовместимой с другими нехаканными клиентами, если они собраны статически
KAL> с какой-то более ранней версией libMySQL, либо находятся в других
KAL> дистрибутивах. Также есть проблема с дампами баз - получается, что такую
KAL> базу сможет восстановить/сдампить только похаканная версия, т.к. обычная
KAL> использует для User прибитые гвоздями char(16). Отсюда вопрос - надо ли
KAL> это, или оставить все как есть?
KAL> PS Говорят, что в 4.0.x тоже можно было задавать имя пользователя >= 16
KAL> символов. Но там был просто баг реализации - не смотря на USERNAME_LENGTH
KAL> 16, границы этого LENGTH забывали проверять.
Несовместимость протокола будет даже если не использовать username >= 16
символов? Если так -- нафиг. Если же только при использовании -- большими
буквами в README написать что так делать не нужно, но можно. И включить.
--
С уважением, Денис
http://freesource.info
----------------------------------------------------------------------------
Meet the new maintainer. Mua-ha-ha-ha-ha.
-- mhz in #2292
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-11-02 9:55 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 ` Денис Смирнов [this message]
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
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=20061102095541.GA22759@localhost.localdomain \
--to=mithraen@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