Ignore:
Timestamp:
Mar 31, 2010, 6:32:40 PM (15 years ago)
Author:
george
Message:
  • Upraveno: Aktualizace fóra.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/includes/db/firebird.php

    r400 r702  
    33*
    44* @package dbal
    5 * @version $Id: firebird.php 8967 2008-10-02 12:04:12Z acydburn $
     5* @version $Id$
    66* @copyright (c) 2005 phpBB Group
    77* @license http://opensource.org/licenses/gpl-license.php GNU Public License
     
    2121/**
    2222* Firebird/Interbase Database Abstraction Layer
    23 * Minimum Requirement is Firebird 2.0
     23* Minimum Requirement is Firebird 2.1
    2424* @package dbal
    2525*/
     
    7373                }
    7474
    75                 return ($raw) ? '2.0' : 'Firebird/Interbase';
     75                return ($raw) ? '2.1' : 'Firebird/Interbase';
    7676        }
    7777
     
    447447        }
    448448
     449        function _sql_bit_and($column_name, $bit, $compare = '')
     450        {
     451                return 'BIN_AND(' . $column_name . ', ' . (1 << $bit) . ')' . (($compare) ? ' ' . $compare : '');
     452        }
     453
     454        function _sql_bit_or($column_name, $bit, $compare = '')
     455        {
     456                return 'BIN_OR(' . $column_name . ', ' . (1 << $bit) . ')' . (($compare) ? ' ' . $compare : '');
     457        }
     458
    449459        /**
    450460        * return sql error array
Note: See TracChangeset for help on using the changeset viewer.