<s> from pysqli . core . dbms import COMMENT , DBS_ENUM , TABLES_ENUM , COLS_ENUM , FIELDS_ENUM , STR , allow , DBMS , dbms <EOL> from pysqli . core . forge import SQLForge <EOL> class OracleForge ( SQLForge ) : <EOL> def __init__ ( self , context ) : <EOL> SQLForge . __init__ ( self , context ) <EOL> def mid_check ( self ) : <EOL> return self . wrap_sql ( '<STR_LIT>' ) <EOL> def mid_check_bis ( self ) : <EOL> return self . wrap_sql ( '<STR_LIT>' ) <EOL> def string_len ( self , s ) : <EOL> return '<STR_LIT>' % s <EOL> def get_char ( self , string , pos ) : <EOL> return '<STR_LIT>' % ( string , pos ) <EOL> def wrap_bisec ( self , cdt ) : <EOL> return self . wrap_sql ( '<STR_LIT>' % ( cdt , self . wrap_field ( '<STR_LIT:0>' ) ) ) <EOL> def count ( self , records ) : <EOL> sql = "<STR_LIT>" % records <EOL> return sql <EOL> def take ( self , records , index ) : <EOL> return '<STR_LIT>' % ( records , index ) <EOL> def get_version ( self ) : <EOL> return '<STR_LIT>' <EOL> def get_current_database ( self ) : <EOL> return '<STR_LIT>' <EOL> def get_databases ( self ) : <EOL> return '<STR_LIT>' <EOL> def get_tables ( self , db ) : <EOL> return '<STR_LIT>' <EOL> def get_user ( self ) : <EOL> return '<STR_LIT>' <EOL> @ dbms ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> @ allow ( DBS_ENUM | TABLES_ENUM | COLS_ENUM | FIELDS_ENUM | COMMENT | STR ) <EOL> class Oracle ( DBMS ) : <EOL> def __init__ ( self , injector , limit_count_max = <NUM_LIT> ) : <EOL> DBMS . __init__ ( self , OracleForge , injector , limit_count_max ) </s>
