<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>
<config>
	<!--
	#
	#  L O G G I N G
	#
	# We use PEAR-compatible Log for all Propel logging and we embed the
	# log conf properties within our application configuration.
	#
	#   type    - the type of log (default 'file')
	#   name    - the name of log or path to file. (default './propel.log')
	#   ident   - the text used to identify the log messages
	#   level   - the log level
	#                   PEAR_LOG_EMERG    0
	#                   PEAR_LOG_ALERT    1
	#                   PEAR_LOG_CRIT     2
	#                   PEAR_LOG_ERR      3
	#                   PEAR_LOG_WARNING  4
	#                   PEAR_LOG_NOTICE   5
	#                   PEAR_LOG_INFO     6
	#                   PEAR_LOG_DEBUG    7
	#
	# Note that if you omit the <log> config section, Propel will not attempt to
	# configure a logger, and you will need to specify one manually using
	# Propel::setLogger() if you want Propel to log debug or error messages.
	-->
	<log>
		<ident>propel-bookstore</ident>
		<name>console</name>
		<level>7</level>
	</log>
	<!--
	#
	#  P R O P E L  P R O P E R T I E S
	#
	# Note that you can configure multiple datasources; for example if your
	# project uses several databases.
	-->
	<propel>
		<datasources default="bookstore">

			<datasource id="bookstore">
				<!-- the Propel adapter to use for this connection -->
				<adapter>sqlite</adapter>
				<!-- Connection parameters. See PDO documentation for DSN format and available option constants. -->
				<connection>
					<dsn>sqlite2:/tmp/bookstore.db</dsn>
					<!--
					For MySQL and Oracle you must specify username + password separate from DSN:
					<user>testuser</user>
					<password>password</password>
					-->
					<options>
						<option id="ATTR_PERSISTENT">false</option>
					</options>
				</connection>
			</datasource>

		</datasources>
	</propel>
</config><commit_msg>Added comment about MySQL buggy prepared statement support to runtime-conf.xml<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>
<config>
	<!--
	#
	#  L O G G I N G
	#
	# We use PEAR-compatible Log for all Propel logging and we embed the
	# log conf properties within our application configuration.
	#
	#   type    - the type of log (default 'file')
	#   name    - the name of log or path to file. (default './propel.log')
	#   ident   - the text used to identify the log messages
	#   level   - the log level
	#                   PEAR_LOG_EMERG    0
	#                   PEAR_LOG_ALERT    1
	#                   PEAR_LOG_CRIT     2
	#                   PEAR_LOG_ERR      3
	#                   PEAR_LOG_WARNING  4
	#                   PEAR_LOG_NOTICE   5
	#                   PEAR_LOG_INFO     6
	#                   PEAR_LOG_DEBUG    7
	#
	# Note that if you omit the <log> config section, Propel will not attempt to
	# configure a logger, and you will need to specify one manually using
	# Propel::setLogger() if you want Propel to log debug or error messages.
	-->
	<log>
		<ident>propel-bookstore</ident>
		<name>console</name>
		<level>7</level>
	</log>
	<!--
	#
	#  P R O P E L  P R O P E R T I E S
	#
	# Note that you can configure multiple datasources; for example if your
	# project uses several databases.
	-->
	<propel>
		<datasources default="bookstore">

			<datasource id="bookstore">
				<!-- the Propel adapter to use for this connection -->
				<adapter>sqlite</adapter>
				<!-- Connection parameters. See PDO documentation for DSN format and available option constants. -->
				<connection>
					<dsn>sqlite2:/tmp/bookstore.db</dsn>
					<!--
					For MySQL and Oracle you must specify username + password separate from DSN:
					<user>testuser</user>
					<password>password</password>
					-->
					<options>
						<option id="ATTR_PERSISTENT">false</option>
						<!-- for MySQL, you should also turn on prepared statement emulation, as
							prepared statements support is buggy in mysql driver
						<option id="ATTR_EMULATE_PREPARES">true</option>
						-->
					</options>
				</connection>
			</datasource>

		</datasources>
	</propel>
</config>
{'fraction_non_alphanumeric': 0.1023698998289763, 'fraction_numerical': 0.008306865379916931, 'mean_word_length': 2.200938232994527, 'pattern_counts': {'":': 0, '<': 80, '<?xml version=': 2, '>': 80, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6430218', 'n_tokens_mistral': 1454, 'n_tokens_neox': 1262, 'n_words': 431}