mysql:8492
From: takuma watanabe <takuma watanabe <takuma@xxxxxxxxxx>>
Date: Tue, 16 Dec 2003 10:01:10 +0900
Subject: [mysql 08492] Delphi+Mysql ¤Ç Jpeg ¤òÅÐÏ¿
¤³¤ó¤Ë¤Á¤Ï¡£ÅÏÊդǤ¹¡£ ¤Þ¤¿¼ÁÌ䤵¤»¤Æ¤¤¤¿¤À¤¤Þ¤¹¡£ MySQL3.23+MyODBC2.50.29(MySQL-SJIS)¤ò»ÈÍѤ·¤ÆDelphi5 Enterprise(BDE5.01) ¤Ç¥·¥¹¥Æ¥à¤ò¹½ÃÛ¤·¤Æ¤ª¤ê¤Þ¤¹¡£ º£²óMysql¤Ç½é¤á¤Æ²èÁü¤ò°·¤¤¤Þ¤·¤Æ¡¢¤Ê¤ó¤È¤«Êݸ¡Áɽ¼¨¤Þ¤Ç¤Ï¤Ç¤¤Þ¤·¤¿¤¬ °ì¤ÄÌäÂ꤬¡¦¡¦¡¦¡£ BLOB¥Õ¥£¡¼¥ë¥É¤ËJpeg¤Î¼Ì¿¿¤òÅÐÏ¿¤·¤¿¤¤¤Î¤Ç¤¹¤¬¡¢Ìó2500¥ì¥³¡¼¥É¤Ë¤½¤ì¤¾¤ì 100KBÁ°¸å¤ÎJpeg¤òÅÐÏ¿¤¹¤ë¤È¡¢¥Ç¡¼¥¿¤ò»²¾È¤¹¤ëºÝ¤Ë»þ´Ö¤¬¤«¤«¤Ã¤Æ¤·¤Þ¤¤¤Þ ¤¹¡£¡ÊPentium·1GHz¡¢¥á¥â¥ê512MB¤ÎWin2k¤Ç¤¹¤¬1ʬ°Ê¾å¤«¤«¤ë¾õÂ֤Ǥ¹¡Ë Delphi¤Î¥Æ¡¼¥Ö¥ë¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ç»²¾È¤·¤Æ¤¤¤ë¤Î¤Ç¡¢Â¿¾¯¤Ï»þ´Ö¤¬¤«¤«¤ë»ö¤â ¤ï¤«¤ë¤Î¤Ç¤¹¤¬¡¢SQLʸ¤ÇBLOB¥Õ¥£¡¼¥ë¥É¤ò½ü¤¤¤Æ°ú¤ÃÄ¥¤Ã¤ÆÍè¤Æ¤â»þ´Ö¤¬¤«¤« ¤ê¤Þ¤¹¡£¥¤¥ó¥Ç¥Ã¥¯¥¹ÉÕ¤¤Î¹àÌܤÀ¤±¤Ê¤éÁᤤ¤ó¤Ç¤¹¤±¤É¤Í¡£ ÅÐÏ¿¤ÎºÝ¤Ë²èÁü¥µ¥¤¥º¤ò¾®¤µ¤¯¤·¤¿¤ê¡Ê1000¡ß1400¥Ô¥¯¥»¥ë¤¯¤é¤¤¤È¤«¡¢·ë¹½¤Ç ¤«¤¤¤Ç¤¹£÷¡Ë¤¹¤ë»ö¤Ï¤Ç¤¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡© TJpegImage¤Ê¤ÉDelphi¤Î¥Ø¥ë¥×¤Ï¸«¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¡¢¾å¼ê¤¯»È¤¨¤½¤¦¤ÊÉôʬ¤¬¸« ¤¢¤¿¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£ ÉáÄ̤Ϥ¿¤«¤À¤«2500¥ì¥³¡¼¥É¡Ü²èÁü¤ÇÃÙ¤¯¤Ê¤ë¾õ¶·¤â²¿¤«¤¢¤ë¤Î¤«¤Ê¡©¤È¤â»×¤¤ ¤Þ¤¹¤ó¤Ç¡¦¡¦¡¦¤³¤Á¤é¤â²¿¤«¤´Â¸¤¸¤ÎÊý¤¬¤¤¤¿¤é¶µ¤¨¤Æ¤¤¤¿¤À¤¤¿¤¯Â¸¤¸¤Þ¤¹¡£ ¤Á¤Ê¤ß¤Ë¡¦¡¦¡¦Æä˲è¼Á¤Ë¤³¤À¤ï¤ëÅù¤Ï¤¢¤ê¤Þ¤»¤ó¡¦¡¦¡¦¤¬¡¢ CompressionQuality¤ò»È¤Ã¤Æ°µ½ÌΨ¤ò¾å¤²¤¹¤®¤ë¤È¡¢¿Í¤¬¥¾¥ó¥Ó¾õÂ֤ˤʤäƤ· ¤Þ¤Ã¤Æ¡¢¤µ¤¹¤¬¤Ë¤³¤ì¤Ç¤Ï¡¦¡¦¡¦¤È¤¤¤¦´¶¤¸¤Ç¤¹£÷ ²èÁü¤ÎÅÐÏ¿´ØÏ¢¤Ç¿§¡¹¹Ô¤Ã¤Æ¤¤¤ëÊý¡¢ÂçÊѤª¼ê¿ô¤È¤Ï¸¤¸¤Þ¤¹¤¬¡¢²¿¤«¥¢¥É¥Ð¥¤ ¥¹¤ò¤ª´ê¤¤Ãפ·¤Þ¤¹¡£ ¢¨¥Æ¡¼¥Ö¥ë¹½Â¤ CREATE TABLE USER ( USERID VARCHAR(10) BINARY NOT NULL, USER_KIND SMALLINT, USERNAME VARCHAR(30) BINARY, YOMI VARCHAR(30) BINARY, INPUTDATE DATE, NOTE TEXT, JPIMAGE LONGBLOB, PRIMARY KEY (USERID) ) JPIMAGE¤ËJpeg¤òÅÐÏ¿¤·¤Æ¤¤¤Þ¤¹¡£ ÅÏÊÕ
8470 2003-12-10 19:10 [takuma watanabe <tak] MyODBC ¤Î DLL ¤Ç¥â¥¸¥å¡¼¥ë°ãÈ¿ 8484 2003-12-12 13:43 ¨²[takuma watanabe <tak] -> 8492 2003-12-16 10:01 ¨±[takuma watanabe <tak] Delphi+Mysql ¤Ç Jpeg ¤òÅÐÏ¿ 8493 2003-12-16 10:12 ¡¡¨²[±óÆ£ ½Ó͵ <endo_t@xx] 8494 2003-12-16 10:28 ¡¡¨¨±[takuma watanabe <tak] 8495 2003-12-16 10:35 ¡¡¨¡¡¨±[±óÆ£ ½Ó͵ <endo_t@xx] 8497 2003-12-16 11:25 ¡¡¨¡¡¡¡¨±[Ito Takahiro <taka@x] 8498 2003-12-16 12:00 ¡¡¨¡¡¡¡¡¡¨±[takuma watanabe <tak] 8499 2003-12-16 12:25 ¡¡¨¡¡¡¡¡¡¡¡¨±[±óÆ£ ½Ó͵ <endo_t@xx] 8496 2003-12-16 11:13 ¡¡¨²["TAKAHASHI, Tomohiro] 8500 2003-12-16 15:12 ¡¡¨²["TAKAHASHI, Tomohiro] 8501 2003-12-16 16:12 ¡¡¨¨±[takuma watanabe <tak] 8503 2003-12-16 16:23 ¡¡¨¡¡¨±[±óÆ£ ½Ó͵ <endo_t@xx] 8512 2003-12-16 22:03 ¡¡¨¡¡¡¡¨±["TAKAHASHI, Tomohiro] 8517 2003-12-17 10:33 ¡¡¨¡¡¡¡¡¡¨±[±óÆ£ ½Ó͵ <endo_t@xx] 8502 2003-12-16 16:17 ¡¡¨±[take_tk <CQK01016@xx] 8504 2003-12-16 16:25 ¡¡¡¡¨²[±óÆ£ ½Ó͵ <endo_t@xx] 8505 2003-12-16 16:36 ¡¡¡¡¨±[takuma watanabe <tak] 8506 2003-12-16 18:50 ¡¡¡¡¡¡¨²[take_tk <CQK01016@xx] 8507 2003-12-16 19:01 ¡¡¡¡¡¡¨¨±[takuma watanabe <tak] 8510 2003-12-16 21:08 ¡¡¡¡¡¡¨¡¡¨±[take_tk <CQK01016@xx] 8511 2003-12-16 21:30 ¡¡¡¡¡¡¨¡¡¡¡¨±[takuma watanabe <tak] 8513 2003-12-16 22:04 ¡¡¡¡¡¡¨±["TAKAHASHI, Tomohiro] 8514 2003-12-16 22:14 ¡¡¡¡¡¡¡¡¨±[takuma watanabe <tak]