<commit_before><?php
/**
 * Class to use MySQL DBMS
 * mysql handling class
 *
 * Does not use prepared statements, since mysql driver does not support them
 *
 * @author NHN (<EMAIL>)
 * @package /classes/db
 * @version 0.1
 **/
class DBMysql extends DB {

    /**
	 * prefix of a tablename (One or more XEs can be installed in a single DB)
	 * @var string
     */
    var $prefix   = 'xe_'; // / <
    var $comment_syntax = '/* %s */';

    /**
     * Column type used in MySQL
     *
     * Becasue a common column type in schema/query xml is used for colum_type,
     * it should be replaced properly for each DBMS
	 * @var array
     */
    var $column_type = array(
        'bignumber' => 'bigint',
        'number' => 'bigint',
        'varchar' => 'varchar',
        'char' => 'char',
        'text' => 'text',
        'bigtext' => 'longtext',
        'date' => 'varchar(14)',
        'float' => 'float',
    );

    /**
     * Constructor
	 * @return void
     **/
    function DBMysql() {
        $this->_setDBInfo();
        $this->_connect();
    }

	/**
	 * Create an instance of this class<commit_msg>add phpDoc comment<commit_after><?php
/**
 * Class to use MySQL DBMS
 * mysql handling class
 *
 * Does not use prepared statements, since mysql driver does not support them
 *
 * @author NHN (<EMAIL>)
 * @package /classes/db
 * @version 0.1
 */
class DBMysql extends DB {

    /**
	 * prefix of a tablename (One or more XEs can be installed in a single DB)
	 * @var string
     */
    var $prefix   = 'xe_'; // / <
    var $comment_syntax = '/* %s */';

    /**
     * Column type used in MySQL
     *
     * Becasue a common column type in schema/query xml is used for colum_type,
     * it should be replaced properly for each DBMS
	 * @var array
     */
    var $column_type = array(
        'bignumber' => 'bigint',
        'number' => 'bigint',
        'varchar' => 'varchar',
        'char' => 'char',
        'text' => 'text',
        'bigtext' => 'longtext',
        'date' => 'varchar(14)',
        'float' => 'float',
    );

    /**
     * Constructor
	 * @return void
     */
    function DBMysql() {
        $this->_setDBInfo();
        $this->_connect();
    }

	/**
	 * Create an instance of this class
{'fraction_non_alphanumeric': 0.14688759516345723, 'fraction_numerical': 0.0035826242722794446, 'mean_word_length': 2.0729023383768914, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4484170', 'n_tokens_mistral': 737, 'n_tokens_neox': 709, 'n_words': 229}