<commit_before>// Package simplemaria offers a simple way to use a MySQL/MariaDB database.
// This database backend is interchangable with xyproto/simpleredis and
// xyproto/simplebolt, since they all use xyproto/pinterface.
package simplemaria

import (
	"database/sql"
	"errors"
	"fmt"
	// Use the mysql database driver
	_ "github.com/go-sql-driver/mysql"
	"log"
	"strconv"
	"strings"
)

const (
	// Version number. Stable API within major version numbers.
	Version = 2.0
)

type Host struct {
	db      *sql.DB
	dbname  string
	rawUTF8 bool
}

// Common for each of the db datastructures used here
type dbDatastructure struct {
	host  *Host<commit_msg>Bump to 3.0 because of the change from VARCHAR to TEXT<commit_after>// Package simplemaria offers a simple way to use a MySQL/MariaDB database.
// This database backend is interchangable with xyproto/simpleredis and
// xyproto/simplebolt, since they all use xyproto/pinterface.
package simplemaria

import (
	"database/sql"
	"errors"
	"fmt"
	// Use the mysql database driver
	_ "github.com/go-sql-driver/mysql"
	"log"
	"strconv"
	"strings"
)

const (
	// Version number. Stable API within major version numbers.
	Version = 3.0
)

// Host represents a specific database at a database host
type Host struct {
	db      *sql.DB
	dbname  string
	rawUTF8 bool
}

// Common for each of the db datastructures used here
type dbDatastructure struct {
	host  *Host
{'fraction_non_alphanumeric': 0.08173418621179815, 'fraction_numerical': 0.005685856432125089, 'mean_word_length': 3.6013071895424837, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2171131', 'n_tokens_mistral': 471, 'n_tokens_neox': 456, 'n_words': 168}