Package: mydumper / 0.5.1-3

0004-typo-fix-in-myloader.patch Patch series | download
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
28
29
30
From: Mateusz Kijowski <mkijowski@trojmiasto.pl>
Date: Tue, 22 Nov 2011 18:06:55 +0100
Subject: typo fix in myloader

---
 myloader.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/myloader.c b/myloader.c
index ea350f9..394154c 100644
--- a/myloader.c
+++ b/myloader.c
@@ -368,7 +368,7 @@ void restore_data(MYSQL *conn, char *database, char *table, const char *filename
 				if (!is_schema &&(query_counter == commit_count)) {
 					query_counter= 0;
 					if (mysql_query(conn, "COMMIT")) {
-						g_critical("Error commiting data for %s.%s: %s", db ? db : database, table, mysql_error(conn));
+						g_critical("Error committing data for %s.%s: %s", db ? db : database, table, mysql_error(conn));
 						errors++;
 						return;
 					}
@@ -384,7 +384,7 @@ void restore_data(MYSQL *conn, char *database, char *table, const char *filename
 		}
 	}
 	if (!is_schema && mysql_query(conn, "COMMIT")) {
-		g_critical("Error commiting data for %s.%s from file %s: %s", db ? db : database, table, filename, mysql_error(conn));
+		g_critical("Error committing data for %s.%s from file %s: %s", db ? db : database, table, filename, mysql_error(conn));
 		errors++;
 	}
 	g_string_free(data, TRUE);