Show
Ignore:
Timestamp:
03/01/2008 02:50:19 PM (10 months ago)
Author:
zombor
Message:

Moving default exceptions back to the base database driver.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/drivers/Database/Mssql.php

    r2206 r2208  
    101101        } 
    102102 
    103         public function set_charset($charset) 
    104         { 
    105                 throw new Kohana_Database_Exception('database.not_implemented', __FUNCTION__); 
    106         } 
    107  
    108103        public function escape_table($table) 
    109104        { 
     
    164159                } 
    165160                return $column; 
    166         } 
    167          
    168         /* As far as I know, T-SQL doesn't have the REGEXP or NOT REGEXP keywords 
    169          *  
    170          */ 
    171         public function regex($field, $match = '', $type = 'AND ', $num_regexs) 
    172         { 
    173                 throw new Kohana_Database_Exception('database.not_implemented', __FUNCTION__); 
    174         } 
    175  
    176         public function notregex($field, $match = '', $type = 'AND ', $num_regexs) 
    177         { 
    178                 throw new Kohana_Database_Exception('database.not_implemented', __FUNCTION__); 
    179         } 
    180  
    181         /* MERGE (or UPSERT) not supported in SQL SERVER 2000 
    182          * somone with a more recent version should add this 
    183          * feature in. 
    184          */ 
    185         public function merge($table, $keys, $values) 
    186         { 
    187                 throw new Kohana_Database_Exception('database.not_implemented', __FUNCTION__); 
    188161        } 
    189162         
     
    200173        { 
    201174                return 'TOP '.$limit; 
    202         } 
    203  
    204         public function stmt_prepare($sql = '') 
    205         { 
    206                 throw new Kohana_Database_Exception('database.not_implemented', __FUNCTION__); 
    207175        } 
    208176