<commit_before><?php
    error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE);
	require_once "./lib/common.php";

    include "./config.php";
    $conn = new mysqli($db_server, $db_username, $db_password, $db_name, $db_port);
    if($conn->connect_errno != 0)
    {
      $errmsg = "数据库连接错误：" . $conn->connect_error;
	  echo $errmsg;
      debug_log($errmsg);
	  return;
    }
	
	$sqlarr = array(
"CREATE TABLE user
(
  uid integer AUTO_INCREMENT PRIMARY KEY,
  umail varchar(64) UNIQUE NOT NULL,
  upwd varchar(32) NOT NULL
)",

"CREATE TABLE tbid
(
  uid integer PRIMARY KEY,
  tbun varchar(16),
  tbcookie varchar(256),
  FOREIGN KEY (uid) REFERENCES user(uid)
)",

"CREATE TABLE tblist
(
  uid integer,
  tbname varchar(128),
  ign varchar(1),
  PRIMARY KEY (uid, tbname),
  FOREIGN KEY (uid) REFERENCES user(uid)<commit_msg>fix bug in install.php<commit_after><?php
    error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE);
	require_once "./lib/common.php";

    include "./config.php";
    $conn = new mysqli($db_server, $db_username, $db_password, $db_name, $db_port);
    if($conn->connect_errno != 0)
    {
      $errmsg = "数据库连接错误：" . $conn->connect_error;
	  echo $errmsg;
      debug_log($errmsg);
	  return;
    }
	
	$sqlarr = array(
"CREATE TABLE user
(
  uid integer AUTO_INCREMENT PRIMARY KEY,
  uname varchar(16) UNIQUE NOT NULL,
  upwd varchar(32) NOT NULL,
  umail varchar(64) UNIQUE NOT NULL
)",

"CREATE TABLE tbid
(
  uid integer PRIMARY KEY,
  tbun varchar(16),
  tbcookie varchar(256),
  FOREIGN KEY (uid) REFERENCES user(uid)
)",

"CREATE TABLE tblist
(
  uid integer,
  tbname varchar(128),
  ign varchar(1),
  PRIMARY KEY (uid, tbname),
  FOREIGN KEY (uid) REFERENCES user(uid)
{'fraction_non_alphanumeric': 0.13254437869822486, 'fraction_numerical': 0.01775147928994083, 'mean_word_length': 3.723463687150838, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '4955412', 'n_tokens_mistral': 686, 'n_tokens_neox': 638, 'n_words': 161}