~ubuntu-branches/debian/squeeze/movabletype-opensource/squeeze

« back to all changes in this revision

Viewing changes to lib/MT/ObjectDriver/DDL.pm

  • Committer: Bazaar Package Importer
  • Author(s): Dominic Hargreaves
  • Date: 2008-06-13 23:28:40 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080613232840-ya4jfxv1jgl45a3d
Tags: 4.2~rc2-1
* New upstream release candidate
* Update Standards-Version (no changes)
* Ensure that schema upgrade message is always seen

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# This program is distributed under the terms of the
3
3
# GNU General Public License, version 2.
4
4
#
5
 
# $Id: DDL.pm 1174 2008-01-08 21:02:50Z bchoate $
 
5
# $Id: DDL.pm 2187 2008-05-01 22:02:07Z bchoate $
6
6
 
7
7
package MT::ObjectDriver::DDL;
8
8
 
409
409
        return 'blob';
410
410
    } elsif ($type == SQL_BOOLEAN) {
411
411
        return 'boolean';
 
412
    } elsif ($type == SQL_FLOAT) {
 
413
        return 'float';
412
414
    }
413
415
    warn "unresolved type: $type\n";
414
416
    undef;