Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed bug #16787: charset and collation options are ignored on i18n t…

…able creation

git-svn-id: http://svn.php.net/repository/pear/packages/Translation2/trunk@292702 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit cd5ab186c41a87ece5a7458affdc5471de4e6101 1 parent 0631d2a
@quipo quipo authored
Showing with 10 additions and 6 deletions.
  1. +5 −1 Admin/Container/mdb2.php
  2. +5 −5 package.xml
View
6 Admin/Container/mdb2.php
@@ -137,7 +137,11 @@ function addLang($langData, $options = array())
),
);
++$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;
}
View
10 package.xml
@@ -45,8 +45,8 @@ Currently, the following decorators are provided:
<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 @@ Currently, the following decorators are provided:
</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 @@ Currently, the following decorators are provided:
<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>
Please sign in to comment.
Something went wrong with that request. Please try again.