From: jon Date: December 16 2005 9:41am Subject: svn commit - mysqldoc@docsrva: r575 - in trunk: refman-4.1 refman-5.0 refman-5.1 List-Archive: http://lists.mysql.com/commits/197 Message-Id: <200512160941.jBG9fxQi018440@docsrva.mysql.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Author: jstephens Date: 2005-12-16 10:41:58 +0100 (Fri, 16 Dec 2005) New Revision: 575 Log: Misc. remarks about working with BLOBs (response to user comments). Modified: trunk/refman-4.1/data-types.xml trunk/refman-5.0/data-types.xml trunk/refman-5.1/data-types.xml Modified: trunk/refman-4.1/data-types.xml =================================================================== --- trunk/refman-4.1/data-types.xml 2005-12-16 08:17:32 UTC (rev 574) +++ trunk/refman-4.1/data-types.xml 2005-12-16 09:41:58 UTC (rev 575) @@ -4348,6 +4348,19 @@ in contrast to all other data types, for which storage is allocated once per column when the table is opened. + + + In some cases, it may be desirable to store binary data such as + media files in BLOB or + TEXT columns. You may find MySQL's string + handling functions useful for working with such data. See + . For security and other + reasons, it is usually preferable to do so using application + code rather than allowing application users the + FILE privilege. You can discuss specifics for + various languages and platforms in the MySQL Forums + (). + Modified: trunk/refman-5.0/data-types.xml =================================================================== --- trunk/refman-5.0/data-types.xml 2005-12-16 08:17:32 UTC (rev 574) +++ trunk/refman-5.0/data-types.xml 2005-12-16 09:41:58 UTC (rev 575) @@ -3995,9 +3995,7 @@ to fit. If the truncated characters are not spaces, a warning is generated. You can cause an error to occur and the value to be rejected rather than to be truncated with awarning by using - strict SQL mode. See - . + strict SQL mode. See . @@ -4154,6 +4152,19 @@ in contrast to all other data types, for which storage is allocated once per column when the table is opened. + + + In some cases, it may be desirable to store binary data such as + media files in BLOB or + TEXT columns. You may find MySQL's string + handling functions useful for working with such data. See + . For security and other + reasons, it is usually preferable to do so using application + code rather than allowing application users the + FILE privilege. You can discuss specifics for + various languages and platforms in the MySQL Forums + (). + Modified: trunk/refman-5.1/data-types.xml =================================================================== --- trunk/refman-5.1/data-types.xml 2005-12-16 08:17:32 UTC (rev 574) +++ trunk/refman-5.1/data-types.xml 2005-12-16 09:41:58 UTC (rev 575) @@ -3993,6 +3993,19 @@ in contrast to all other data types, for which storage is allocated once per column when the table is opened. + + + In some cases, it may be desirable to store binary data such as + media files in BLOB or + TEXT columns. You may find MySQL's string + handling functions useful for working with such data. See + . For security and other + reasons, it is usually preferable to do so using application + code rather than allowing application users the + FILE privilege. You can discuss specifics for + various languages and platforms in the MySQL Forums + (). +