Improve punctuation of message, printed by "repl" program

This patch changes output of following command (from README.md)

	$ cargo run --example repl -- /tmp/main.db

from

	First time init: creating tables in ""/tmp/main.db""
	[...]
	Opened ""/tmp/main.db"".

to

	First time init: creating tables in "/tmp/main.db"
	[...]
	Opened "/tmp/main.db".

Note lack of double quotation mark, which was confusing and could have been
interpreted as part of file name.
This commit is contained in:
Dmitry Bogatov
2019-07-24 01:27:37 +00:00
committed by holger krekel
parent 72ad8b5199
commit 004cdf6491

View File

@@ -340,7 +340,7 @@ fn open(
info!(
context,
0,
"First time init: creating tables in \"{:?}\".",
"First time init: creating tables in {:?}.",
dbfile.as_ref(),
);
sql.execute(
@@ -816,7 +816,7 @@ fn open(
}
}
info!(context, 0, "Opened \"{:?}\".", dbfile.as_ref(),);
info!(context, 0, "Opened {:?}.", dbfile.as_ref(),);
Ok(())
}