Skip to content

Commit 1f4fc35

Browse files
committed
Merge branch 'master' of github.com:xp-framework/rdbms
2 parents 1b63062 + 874d0b2 commit 1f4fc35

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ RDBMS support for the XP Framework: MySQL, Sybase, MSSQL, PostgreSQL, SQLite3, I
33

44
## ?.?.? / ????-??-??
55

6+
## 6.4.3 / 2015-11-30
7+
8+
* Merged PR #7: Add missing types (Sybase, MySQL) - @kiesel
9+
610
## 6.4.2 / 2015-09-26
711

812
* Merged PR #6: Use short array syntax / ::class in annotations - @thekid

src/main/php/rdbms/mysql/MySQLDBAdapter.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ class MySQLDBAdapter extends DBAdapter {
3737
'blob' => DBTableAttribute::DB_ATTRTYPE_TEXT,
3838
'mediumblob' => DBTableAttribute::DB_ATTRTYPE_TEXT,
3939
'longblob' => DBTableAttribute::DB_ATTRTYPE_TEXT,
40-
'time' => DBTableAttribute::DB_ATTRTYPE_TEXT
40+
'time' => DBTableAttribute::DB_ATTRTYPE_TEXT,
41+
'year' => DBTableAttribute::DB_ATTRTYPE_NUMERIC,
4142
];
4243

4344
/**

src/main/php/rdbms/sybase/SybaseDBAdapter.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function __construct($conn) {
4545
'smallint' => DBTableAttribute::DB_ATTRTYPE_SMALLINT,
4646
'smallmoney' => DBTableAttribute::DB_ATTRTYPE_SMALLMONEY,
4747
'sysname' => DBTableAttribute::DB_ATTRTYPE_SYSNAME,
48+
'longsysname' => DBTableAttribute::DB_ATTRTYPE_SYSNAME,
4849
'text' => DBTableAttribute::DB_ATTRTYPE_TEXT,
4950
'timestamp' => DBTableAttribute::DB_ATTRTYPE_TIMESTAMP,
5051
'tinyint' => DBTableAttribute::DB_ATTRTYPE_TINYINT,

0 commit comments

Comments
 (0)