[Á°][¼¡][ÈÖ¹æ½ç°ìÍ÷][¥¹¥ì¥Ã¥É°ìÍ÷]

mysql:2354

From: <takeshi@xxxxxxxxxx>
Date: Mon, 07 Aug 2000 08:43:30 +0900
Subject: [mysql 02354] Re: ¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤ÎÊýË¡

At Sun, 6 Aug 2000 23:38:26 +0900,
¤È¤ß¤¿¤Þ¤µ¤Ò¤í <tommy@xxxxxxxxxx> wrote:

> ¤¢¤ì¡© ¤³¤ÎÌäÂê¤ÏÁ°¤Ë¤âÏÃÂê¤Ë¤Ê¤ê¤Þ¤·¤¿¤è¤Í¡£[mysql 01818]
> http://www.mysql.gr.jp/mysqlml/msg.cgi?id=1818
> 
> ¤Ç¡¢3.22.32 ¤Ë¤Ï 3.23 Âбþ¤Î mysqldump ¤¬¤Ä¤¤¤Æ¤¤¤ë¤Î¤Ç¡¢3.22.32 ¤Î
> ¥µ¡¼¥Ð¤ËÂФ·¤Æ»È¤Ã¤Æ¤â¤½¤¦¤Ê¤Ã¤Æ¤·¤Þ¤¦¤Ã¤Æ¤³¤È¤À¤Ã¤¿¤È»×¤¤¤Þ¤¹¡£
> 
> ¤â¤È¤â¤È¥Þ¥ë¥Á¥Ð¥¤¥È¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹Ì¾¤ä¥Æ¡¼¥Ö¥ë̾¤ò 3.22 ¤Ç»È¤¨¤ë¤Î¤Ï
> ¤ª¤Þ¤±¤ß¤¿¤¤¤Ê¤â¤ó¤Ç¡¢Àµ¼°¤Ë»È¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤Î¤Ï 3.23 ¤Î¤¤¤Ä¤«¤«¤é
> ¤Ê¤Î¤Ç¡¢¤·¤ç¤¦¤¬¤Ê¤¤¤Î¤«¤Ê¤È¤â»×¤¤¤Þ¤¹¤¬¡Ä¡£
> 
> °ì±þ»ä¤¬ºî¤Ã¤¿¥Ñ¥Ã¥Á¤â¤¢¤ê¤Þ¤¹¡£[mysql 01824]
> http://www.mysql.gr.jp/mysqlml/msg.cgi?id=1824

¤¢¡¢»×¤¤½Ð¤·¤Þ¤·¤¿¡£
3.22.32 ¤Î mysqldump ¤Î¥Ñ¥Ã¥Á¤ò Monty ¤«¤é¤â¤é¤Ã¤Æ¤¤¤¿¤Î¤Ç¤·¤¿¡£
mysqldump ¤ÎÏäò TcX ¤È¤·¤Æ¤¤¤Æ¡¢3.22.32 ¤Î¼¡¤Î¥ê¥ê¡¼¥¹¤Ç
¥Ñ¥Ã¥Á¤ò¤¤¤ì¤ë¤«¤É¤¦¤«¤Î¤Ï¤Ê¤·¤ò¤·¤Æ¤¤¤ë¤¦¤Á¤Ë¡¢
3.23 ¤Îºî¶È¤ÎÊý¤Ë³«È¯¼çÂΤ¬°Ü¹Ô¤·¤¿¤Î¤Ç¡¢Âбþ¤µ¤ì¤Ê¤¤¤Þ¤Þ¤Ç¤·¤¿¡£
¤¹¤Ã¤«¤ê¡¢3.22.32 ¤ÇÂбþ¤µ¤»¤Æ¤¤¤¿¤È»×¤¤°ã¤¤¤·¤Æ¤Þ¤·¤¿¡£¤¹¤ß¤Þ¤»¤ó¡£
(SoftAgency ¤Î Debian package ¤À¤±¡¢¥Ñ¥Ã¥Á¤ò¤¢¤Æ¤Æ¤¤¤¿...
¤½¤ê¤ã¡¢»ä¤Î mysqldump ¤À¤±¤¬¤Þ¤È¤â¤ËÆ°¤¤¤Æ¤¢¤¿¤ê¤Þ¤¨¤Ç¤·¤¿.)

A better patch is the following:

*** /my/monty/master/mysql-3.23.13a-alpha/client/mysqldump.c	Sat Feb 26 19:18:11 2000
--- ./mysqldump.c	Tue Mar 28 15:32:12 2000
***************
*** 514,522 ****
--- 514,524 ----
  
  static bool test_if_special_chars(const char *str)
  {
+ #if MYSQL_VERSION_ID >= 32300
    for ( ; *str ; str++)
      if (!isvar(*str) && *str != '$')
        return 1;
+ #endif
    return 0;
  } /* test_if_special_chars */

-- 
 ¼¾å µ£  takeshi@xxxxxxxxxx

[Á°][¼¡][ÈÖ¹æ½ç°ìÍ÷][¥¹¥ì¥Ã¥É°ìÍ÷]

      2348 2000-08-05 09:54 [Hiroyuki Hasegawa <a] ¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤ÎÊýË¡                  
      2351 2000-08-05 20:23 ¨±[<takeshi@xxxxxxxxxx>]                                       
      2353 2000-08-06 23:38 ¡¡¨±[¤È¤ß¤¿¤Þ¤µ¤Ò¤í <tomm]                                     
->    2354 2000-08-07 08:43 ¡¡¡¡¨±[<takeshi@xxxxxxxxxx>]                                   
      2355 2000-08-08 09:05 ¡¡¡¡¡¡¨±[Hiroyuki Hasegawa <a]                                 
      2356 2000-08-08 12:27 ¡¡¡¡¡¡¡¡¨±[Yasuhide OMORI / Âç¿]                               
      2357 2000-08-08 13:15 ¡¡¡¡¡¡¡¡¡¡¨±[Hiroyuki Hasegawa <a]