[limb-svn] r6959 - in 3.x/trunk/limb/dbal/src/drivers: mysql mysqli
svn at limb-project.com
svn at limb-project.com
Fri Apr 25 18:29:01 MSD 2008
Author: korchasa
Date: 2008-04-25 18:29:00 +0400 (Fri, 25 Apr 2008)
New Revision: 6959
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6959
Modified:
3.x/trunk/limb/dbal/src/drivers/mysql/lmbMysqlTypeInfo.class.php
3.x/trunk/limb/dbal/src/drivers/mysqli/lmbMysqliTypeInfo.class.php
Log:
-- added bit column type support to mysql and mysqli drivers
Modified: 3.x/trunk/limb/dbal/src/drivers/mysql/lmbMysqlTypeInfo.class.php
===================================================================
--- 3.x/trunk/limb/dbal/src/drivers/mysql/lmbMysqlTypeInfo.class.php 2008-04-25 12:41:59 UTC (rev 6958)
+++ 3.x/trunk/limb/dbal/src/drivers/mysql/lmbMysqlTypeInfo.class.php 2008-04-25 14:29:00 UTC (rev 6959)
@@ -2,9 +2,9 @@
/*
* Limb PHP Framework
*
- * @link http://limb-project.com
+ * @link http://limb-project.com
* @copyright Copyright © 2004-2007 BIT(http://bit-creative.com)
- * @license LGPL http://www.gnu.org/copyleft/lesser.html
+ * @license LGPL http://www.gnu.org/copyleft/lesser.html
*/
lmb_require('limb/dbal/src/drivers/lmbDbTypeInfo.class.php');
@@ -20,6 +20,7 @@
function getNativeToColumnTypeMapping()
{
return array(
+ 'bit' => LIMB_DB_TYPE_INTEGER,
'tinyint' => LIMB_DB_TYPE_SMALLINT,
'smallint' => LIMB_DB_TYPE_SMALLINT,
'mediumint' => LIMB_DB_TYPE_INTEGER,
Modified: 3.x/trunk/limb/dbal/src/drivers/mysqli/lmbMysqliTypeInfo.class.php
===================================================================
--- 3.x/trunk/limb/dbal/src/drivers/mysqli/lmbMysqliTypeInfo.class.php 2008-04-25 12:41:59 UTC (rev 6958)
+++ 3.x/trunk/limb/dbal/src/drivers/mysqli/lmbMysqliTypeInfo.class.php 2008-04-25 14:29:00 UTC (rev 6959)
@@ -2,9 +2,9 @@
/*
* Limb PHP Framework
*
- * @link http://limb-project.com
+ * @link http://limb-project.com
* @copyright Copyright © 2004-2007 BIT(http://bit-creative.com)
- * @license LGPL http://www.gnu.org/copyleft/lesser.html
+ * @license LGPL http://www.gnu.org/copyleft/lesser.html
*/
lmb_require('limb/dbal/src/drivers/lmbDbTypeInfo.class.php');
@@ -20,6 +20,7 @@
function getNativeToColumnTypeMapping()
{
return array(
+ 'bit' => LIMB_DB_TYPE_INTEGER,
'tinyint' => LIMB_DB_TYPE_SMALLINT,
'smallint' => LIMB_DB_TYPE_SMALLINT,
'mediumint' => LIMB_DB_TYPE_INTEGER,
More information about the limb-svn
mailing list