1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: spelling corrections detected by lintian
Index: tntdb-1.4/src/mysql/connection.cpp
===================================================================
--- tntdb-1.4.orig/src/mysql/connection.cpp 2019-10-08 08:49:49.000000000 +0200
+++ tntdb-1.4/src/mysql/connection.cpp 2023-06-13 10:07:44.324310717 +0200
@@ -68,7 +68,7 @@
<< client_flag << ')');
if (::mysql_init(&mysql) == 0)
- throw std::runtime_error("cannot initalize mysql");
+ throw std::runtime_error("cannot initialize mysql");
initialized = true;
if (::mysql_options(&mysql, MYSQL_READ_DEFAULT_GROUP, app && app[0] ? app : "tntdb") != 0)
Index: tntdb-1.4/src/mysql/statement.cpp
===================================================================
--- tntdb-1.4.orig/src/mysql/statement.cpp 2019-10-08 08:49:49.000000000 +0200
+++ tntdb-1.4/src/mysql/statement.cpp 2023-06-13 10:07:19.280299074 +0200
@@ -697,7 +697,7 @@
log_debug("mysql_stmt_result_metadata(" << stmt << ')');
MYSQL_RES* metadata = mysql_stmt_result_metadata(stmt);
if (!metadata)
- throw Error("no metadata avaliable");
+ throw Error("no metadata available");
log_debug("mysql_stmt_result_metadata(" << stmt << ") => " << metadata);
log_debug("mysql_fetch_fields(" << metadata << ')');
|