<commit_before><?php

/**
 * MysqliDb Class
 *
 * @category  Database Access
 * @package   MysqliDb
 * @author    <NAME> <<EMAIL>>
 * @author    <NAME> <<EMAIL>>
 * @author    <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2010
 * @license   http://opensource.org/licenses/gpl-3.0.html GNU Public License
 * @version   2.0
 * */
class MysqliDb
{

    /**
     * Static instance of self
     *
     * @var MysqliDb
     */
    protected static $_instance;

    /**
     * Table prefix
     *
     * @var string
     */
    protected static $_prefix;

    /**
     * MySQLi instance
     *
     * @var mysqli
     */
    protected $_mysqli;

    /**
     * The SQL query to be prepared and executed
     *
     * @var string
     */
    protected $_query;

    /**
     * The previously executed SQL query
     *
     * @var string
     */
    protected $_lastQuery;

    /**
     * An array that holds where joins
     *
     * @var array
     */
    protected $_join = array();

    /**
     * An array that holds where conditions 'fieldname' => 'value'
     *
     * @var array
     */
    protected $_where = array();

    /**
     * Dynamic type list for order by condition value
     */
    protected $_orderBy = array();

    /**
     * Dynamic type list for group by condition value
     */
    protected $_groupBy = array();

    /**
     * Dynamic array that holds a combination of where condition/table data value types and parameter referances
     *
     * @var array
     */
    protected $_bindParams = array(''); // Create the empty 0 index
    /**
     * Variable which holds an amount of returned rows during get/getOne/select queries
     *
     * @var string
     */
    public $count = 0;

    /**
     * Variable which holds last statement error
     *
     * @var string
     */
    protected $_stmtError;

    /**
     * Database credentials
     *
     * @var string
     */
    protected $host;
    protected $username;
    protected $password;
    protected $db;
    protected $port;

    /**
     * Is Subquery object
     *
     */
    protected $isSubQuery = false;

    /**
     * @param string $host
     * @param string $username
     * @param string $password
     * @param string $db
     * @param int $port
     */
    //public function __construct($host ='172.16.17.32', $username = 'arielces_bayres', $password = '<PASSWORD>', $db = 'arielces_bayres', $port = NULL)
    public function __construct($host = 'localhost', $username = 'root', $password = '', $db = 'arielces_bayres_error', $port = NULL)
    {
        $this->host = $host;
        $this->username = $username;
        $this->password = $password;
        $this->db = $db;

<commit_msg>Actualización del sitio<commit_after><?php

/**
 * MysqliDb Class
 *
 * @category  Database Access
 * @package   MysqliDb
 * @author    <NAME> <<EMAIL>>
 * @author    <NAME> <<EMAIL>>
 * @author    <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2010
 * @license   http://opensource.org/licenses/gpl-3.0.html GNU Public License
 * @version   2.0
 * */
class MysqliDb
{

    /**
     * Static instance of self
     *
     * @var MysqliDb
     */
    protected static $_instance;

    /**
     * Table prefix
     *
     * @var string
     */
    protected static $_prefix;

    /**
     * MySQLi instance
     *
     * @var mysqli
     */
    protected $_mysqli;

    /**
     * The SQL query to be prepared and executed
     *
     * @var string
     */
    protected $_query;

    /**
     * The previously executed SQL query
     *
     * @var string
     */
    protected $_lastQuery;

    /**
     * An array that holds where joins
     *
     * @var array
     */
    protected $_join = array();

    /**
     * An array that holds where conditions 'fieldname' => 'value'
     *
     * @var array
     */
    protected $_where = array();

    /**
     * Dynamic type list for order by condition value
     */
    protected $_orderBy = array();

    /**
     * Dynamic type list for group by condition value
     */
    protected $_groupBy = array();

    /**
     * Dynamic array that holds a combination of where condition/table data value types and parameter referances
     *
     * @var array
     */
    protected $_bindParams = array(''); // Create the empty 0 index
    /**
     * Variable which holds an amount of returned rows during get/getOne/select queries
     *
     * @var string
     */
    public $count = 0;

    /**
     * Variable which holds last statement error
     *
     * @var string
     */
    protected $_stmtError;

    /**
     * Database credentials
     *
     * @var string
     */
    protected $host;
    protected $username;
    protected $password;
    protected $db;
    protected $port;

    /**
     * Is Subquery object
     *
     */
    protected $isSubQuery = false;

    /**
     * @param string $host
     * @param string $username
     * @param string $password
     * @param string $db
     * @param int $port
     */
    //public function __construct($host ='172.16.17.32', $username = 'arielces_bayres', $password = '<PASSWORD>', $db = 'arielces_bayres', $port = NULL)
    public function __construct($host = 'localhost', $username = 'root', $password = '', $db = 'arielces_bayres', $port = NULL)
    {
        $this->host = $host;
        $this->username = $username;
        $this->password = $password;
        $this->db = $db;


{'fraction_non_alphanumeric': 0.128214685054044, 'fraction_numerical': 0.007081625046589639, 'mean_word_length': 1.9602868174296746, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3269125', 'n_tokens_mistral': 1658, 'n_tokens_neox': 1580, 'n_words': 474}