svn: /pear/packages/Translation2/trunk/ Admin/Container/mdb2.php package.xml
| From: | Lorenzo Alberton | Date: | Sun, 27 Dec 2009 22:27:13 +0000 |
| Subject: | svn: /pear/packages/Translation2/trunk/ Admin/Container/mdb2.php package.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-58384@lists.php.net to get a copy of this message | ||
quipo Sun, 27 Dec 2009 22:27:13 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292702
Log:
fixed bug #16787: charset and collation options are ignored on i18n table creation
Bug: http://pear.php.net/bugs/16787 (unknown)
Changed paths:
U pear/packages/Translation2/trunk/Admin/Container/mdb2.php
U pear/packages/Translation2/trunk/package.xml
Modified: pear/packages/Translation2/trunk/Admin/Container/mdb2.php
===================================================================
--- pear/packages/Translation2/trunk/Admin/Container/mdb2.php 2009-12-27 19:34:35 UTC (rev 292701)
+++ pear/packages/Translation2/trunk/Admin/Container/mdb2.php 2009-12-27 22:27:13 UTC (rev 292702)
@@ -137,7 +137,11 @@
),
);
++$this->_queries;
- $res = $this->db->manager->createTable($langData['table_name'],
$table_definition);
+ $table_options = array(
+ 'charset' => $charset,
+ 'collate' => $collation,
+ );
+ $res = $this->db->manager->createTable($langData['table_name'],
$table_definition, $table_options);
if (PEAR::isError($res)) {
return $res;
}
Modified: pear/packages/Translation2/trunk/package.xml
===================================================================
--- pear/packages/Translation2/trunk/package.xml 2009-12-27 19:34:35 UTC (rev 292701)
+++ pear/packages/Translation2/trunk/package.xml 2009-12-27 22:27:13 UTC (rev 292702)
@@ -45,8 +45,8 @@
<email>mike@php.net</email>
<active>yes</active>
</developer>
- <date>2008-11-14</date>
- <time>16:24:00</time>
+ <date>2009-12-27</date>
+ <time>23:26:00</time>
<version>
<release>2.0.2</release>
<api>2.0.2</api>
@@ -57,7 +57,7 @@
</stability>
<license uri="http://www.debian.org/misc/bsd.license">BSD</license>
<notes>
-
+- fixed bug #16787: charset and collation options are ignored on i18n table creation
</notes>
<contents>
<dir name="/">
@@ -203,10 +203,10 @@
<release>stable</release>
<api>stable</api>
</stability>
- <date>2008-11-14</date>
+ <date>2009-12-27</date>
<license uri="http://www.debian.org/misc/bsd.license">BSD</license>
<notes>
-
+- fixed bug #16787: charset and collation options are ignored on i18n table creation
</notes>
</release>
<release>