Changeset 702 for trunk/forum/includes/db/firebird.php
- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/includes/db/firebird.php
r400 r702 3 3 * 4 4 * @package dbal 5 * @version $Id : firebird.php 8967 2008-10-02 12:04:12Z acydburn$5 * @version $Id$ 6 6 * @copyright (c) 2005 phpBB Group 7 7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License … … 21 21 /** 22 22 * Firebird/Interbase Database Abstraction Layer 23 * Minimum Requirement is Firebird 2. 023 * Minimum Requirement is Firebird 2.1 24 24 * @package dbal 25 25 */ … … 73 73 } 74 74 75 return ($raw) ? '2. 0' : 'Firebird/Interbase';75 return ($raw) ? '2.1' : 'Firebird/Interbase'; 76 76 } 77 77 … … 447 447 } 448 448 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 449 459 /** 450 460 * return sql error array
Note:
See TracChangeset
for help on using the changeset viewer.